|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: Scope, package, and 'my' variablesby broquaint (Abbot) |
| on Jan 05, 2005 at 02:29 UTC ( #419501=note: print w/ replies, xml ) | Need Help?? |
|
As others have noted, package declarations bear no relation to the scope and scoping of lexical variables. To clear up how lexical variables and the scopes they live in behave I wrote a node entitled Lexical scoping like a fox which I hope is of help.
HTH
_________
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||