laziness, impatience, and hubris | |
PerlMonks |
Re^2: Local for lexicalsby JadeNB (Chaplain) |
on Aug 10, 2009 at 15:31 UTC ( [id://787357]=note: print w/replies, xml ) | Need Help?? |
I'm a little confused by the response. It's not the dynamic-scoping-like behaviour that's the problem—
works as desired. (I'm sure that “dynamic scoping” isn't the right term for that, but I didn't know a better.) The real difficulty (for me, anyway) is making a change in an inner scope to a lexical variable in an outer scope in such a way that the change will ‘revert’ outside that scope.
In Section
Seekers of Perl Wisdom
|
|