We don't bite newbies here... much | |
PerlMonks |
Re: Using an undefined value as a hashrefby itub (Priest) |
on Sep 09, 2005 at 21:13 UTC ( [id://490760]=note: print w/replies, xml ) | Need Help?? |
The trick is that variables created by "my" are not available until the next statement, as documented in perlsub:
In Section
Seekers of Perl Wisdom
|
|