|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: Is this a bug in Perl scope?by trwww (Curate) |
| on Jul 23, 2012 at 21:29 UTC ( #983238=note: print w/ replies, xml ) | Need Help?? |
|
This behavior is documented very clearly:
There no such thing as a "package scope". To do what you want you'd have to use blocks:
Also, FYI warnings and strict are filescoped also if they aren't in a more specific container.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||