Welcome to the Monastery | |
PerlMonks |
Re: search position is getting reset after 'local'by reasonablekeith (Deacon) |
on Jun 12, 2006 at 13:34 UTC ( [id://554812]=note: print w/replies, xml ) | Need Help?? |
so another reason to "use strict;" then?
I can't see how you'd reproduce this bug with it switched on. Update: I just _knew_ someone would see this post as a challenge. I meant that, if one were using strict and declaring lexically scoped varaible, you probably wouldn't hit this, as you well know Corion. Anyway, I thought "use vars;" was obsolete, so I'm not sure it counts? Any other offers? :)
--- my name's not Keith, and I'm not reasonable.
In Section
Seekers of Perl Wisdom
|
|