more useful options | |
PerlMonks |
Re: Closure questionby broquaint (Abbot) |
on Mar 02, 2004 at 17:44 UTC ( [id://333314]=note: print w/replies, xml ) | Need Help?? |
This is the nature of the execution flow of perl - my @r hasn't been 'executed' yet, so you'll want something along the lines of a BEGIN block if you want it to be initialized and have it after the subroutine call e.g
HTH
_________
In Section
Seekers of Perl Wisdom
|
|