Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^4: Missing error under strict (Perlbug: postfix 'until' has inconsistent scope)by Don Coyote (Hermit) |
on Jul 23, 2019 at 14:53 UTC ( [id://11103227]=note: print w/replies, xml ) | Need Help?? |
I think I see the issue now Basically my and state should be in the same scope, but state just holds value through iterations. So the my declaration should hold after the until modifer is executed, as it does with the state declaration. I'm kind of wondering if 'our' gets restricted to what 'my' should do by this behaviour First time I thought of using our to declare lexicality while using the same variable more than once in an expression.
In Section
Seekers of Perl Wisdom
|
|