Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Local for lexicalsby JadeNB (Chaplain) |
on Aug 10, 2009 at 15:35 UTC ( [id://787360]=note: print w/replies, xml ) | Need Help?? |
The problem is that the inner my $e is a completely different variable to the outer one, so that functions closing over the outer one don't ‘see’ it. To illustrate:
gives
In Section
Seekers of Perl Wisdom
|
|