laziness, impatience, and hubris | |
PerlMonks |
Re: search position is getting reset after 'local'by japhy (Canon) |
on Jun 12, 2006 at 11:50 UTC ( [id://554785]=note: print w/replies, xml ) | Need Help?? |
It's a known bug in Perl -- nearly four years old. But your post makes no sense to me. The variable CAN be used outside the block; what can't be used (or more specifically, what has lost its value) is the internal position in the string held by the variable.
In Section
Seekers of Perl Wisdom
|
|