in reply to Re: Regular Expression Question
in thread What happens with empty $1 in regular expressions? (was: Regular Expression Question)
I don't know whether you're looking at Camel II or III, but they both provide full documentation on strict. The Second edition documents the strict pragma beginning on page 500, and the Third edition beginning on page 858.
Of course, the Camel book is not the only source of documentation. Each core module and pragma also comes with built-in documentation. You can read the standard documentation for strict with perldoc strict (or the equivalent on Windows [the HTML-ized docs] or Mac [Shuck]).
The docs from 5.005_02 are even available on this site, including the docs for strict.
To answer your question, three things are considered 'unsafe'. Each one is controlled by a separate part of strict. strict 'refs' prevents the use of symbolic references. strict 'vars' prevents the use of variables which are not pre-declared or fully qualified. strict 'subs' prevents the use of barewords.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Regular Expression Question
by dsb (Chaplain) on Mar 01, 2001 at 00:47 UTC | |
by chipmunk (Parson) on Mar 01, 2001 at 01:05 UTC | |
by tye (Sage) on Mar 01, 2001 at 00:57 UTC |