|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re^2: Lexical closuresby spurperl (Priest) |
| on Oct 25, 2008 at 19:44 UTC ( #719539=note: print w/ replies, xml ) | Need Help?? |
|
So let me see if I get this correctly... Perl's foreach creates a new lexical scope (i.e. a new binding a.k.a. stack frame) at each iteration.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||