Don't ask to ask, just ask | |
PerlMonks |
Re^8: Howto "use" backward compability packages of new "feature"sby LanX (Saint) |
on Aug 25, 2010 at 09:38 UTC ( [id://857126]=note: print w/replies, xml ) | Need Help?? |
and if you look further down pragmas are called "pseudo-modules". I will open a ticket to add the "use stricter" example to the perldoc. UPDATE: pragmas are not even mentioned in require, it only talks about "library files" and do/eval file mechanisms. Otherwise, require demands that a library file be included if it hasn't already been included. The file is included via the do-FILE mechanism, which is essentially just a variety of eval with the caveat that lexical variables in the invoking script will be invisible to the included code. Has semantics similar to the following subroutine: ...
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|