![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re: eval and return valuesby Bloodnok (Vicar) |
on Jan 14, 2009 at 12:41 UTC ( #736213=note: print w/replies, xml ) | Need Help?? |
Your code wouldn't return anything since $foo is lexically re-declared in the assignment within the eval block (something that strictures would have warned you about).
I think you probably meant something like...
Update: s/with/within/
A user level that continues to overstate my experience :-))
In Section
Seekers of Perl Wisdom
|
|