Everything2
Near Matches
Ignore Exact
Full Text
Everything2

strict

created by mazeone

(thing) by WWWWolf (1.4 y) (print)   ?   (I like it!) Sun May 06 2001 at 19:30:22

A Perl pragma to restrict unsafe constructs.

Typically, Perl is fairly relaxed of what you can do; All global variables are global and get created automatically, for example.

Thus, the use of strict pragma - "use strict;", along with the -w interpreter command line parameter or the warnings pragma, is very useful to catch "bad habits" and typos in variable names.

The pragma comes in three variants. Typically all are in use at once, but you can enable disable these at will with use strict "this";, no strict "that"; - or just use use strict; to use all three by default.

use strict "vars";
Gives runtime errors if variables not declared previously are used. Use something like use vars pragma, our, my, or such to declare them.
use strict "refs";
Gives runtime errors if symbolic references are used.
use strict "subs";
Gives runtime errors if you use a bareword that's not a subroutine, unless it's clearly a hash key or similiar.

(definition) by Webster 1913 (print) Wed Dec 22 1999 at 3:28:29

Strict (?), a. [Compar. Stricter (?); superl. Strictest.] [L. strictus, p.p. of stringere to draw or bind tight, to strain. See Strain, and cf. Strait, a.]

1.

Strained; drawn close; tight; as, a strict embrace; a strict ligature.

Dryden.

2.

Tense; not relaxed; as, a strict fiber.

3.

Exact; accurate; precise; rigorously nice; as, to keep strict watch; to pay strict attention.

Shak.

It shall be still in strictest measure. Milton.

4.

Governed or governing by exact rules; observing exact rules; severe; rigorous; as, very strict in observing the Sabbath.

"Through the strict senteries."

Milton.

5.

Rigidly; interpreted; exactly limited; confined; restricted; as, to understand words in a strict sense.

6. Bot.

Upright, or straight and narrow; -- said of the shape of the plants or their flower clusters.

Syn. -- Exact; accurate; nice; close; rigorous; severe. -- Strict, Severe. Strict, applied to a person, denotes that he conforms in his motives and acts to a principle or code by which he is bound; severe is strict with an implication often, but not always, of harshness. Strict is opposed to lax; severe is opposed to gentle.

And rules as strict his labored work confine, As if the Stagirite o'erlooked each line. Pope.

Soon moved with touch of blame, thus Eve: - "What words have passed thy lips, Adam severe!" Milton.

The Strict Observance, ∨ Friars of the Strict Observance. R. C. Ch. See Observance.

 

© Webster 1913.


printable version
chaos

How to sit on steps patterns begin to reveal themselves Cute receptionist bareword
Guy Fawkes scenario Japanese Entrance Ceremony Having a shoplifter arrested is apparently an act of racism Modern Dancing 1914 VII
sensu stricto I will put Chaos into fourteen lines search for similar sub-strings warnings
-w keyword SML Type checking
Rictus Coding For E2: A Primer Two-party system Rancho Nuevo
March 23, 2006 David and Goliath blockquote Del
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Things you could have written:
Lawrence Durrell
bridge
Stained Glass Primer
DDT
Rulers of England
Pledge of death
Lonely in a crowded room
Art Spiegelman
reincarnation
Brad, what if I told you I belonged to a network of freedom fighters?
The Two Cultures
Alcibiades
Marlene Dietrich
New Writeups
antigravpussy
One fly amongst many(person)
sam512
Moon Base Shackleton, 1978(fiction)
Pavlovna
toy boy(person)
XWiz
tear jerker(review)
Heitah
Anarchy is Order(idea)
jessicaj
July 26, 2008(dream)
Berek
ABBA(person)
devolution
k-hole(place)
Nadine_2
The Sound Of Madness(review)
SwimmingMonkey
Conversations with Fo Fo, the Loneliest dog in Purgatory(fiction)
locke baron
lynx(thing)
Simulacron3
Reality, Dimensions and the Natural Ontology(essay)
SubSane
Making Love to a 9-Foot Woman(person)
Ouzo
Thoughts(idea)
antigravpussy
I fall silent, listening. The breadcrumbs are talking about us(person)
E2 is a by-product of the existence of The Everything Development Company