Perl Monk, Perl Meditation | |
PerlMonks |
Re: use, require, do or what?by educated_foo (Vicar) |
on Jul 31, 2008 at 02:38 UTC ( [id://701318]=note: print w/replies, xml ) | Need Help?? |
"my" means "lexical," and "lexical" means "can be used within the set of curlies (or file) containing the declaration. You don't want to use "my" in this case.
In Section
Seekers of Perl Wisdom
|
|