in reply to Re: Re: Re: pos()atively mysterious.
in thread pos()atively mysterious.
Ah so! Grasshopper. Thanks++
No matter how many times I read
Returns the offset of where the last m//g search left off for the variable in question.
I never took in the significance of those last 5 words.
Makes sense (now:), if was just the last position matched by the last m//g which was how I was reading it, there would be no need for a function; a $var would do.
D'oh!
Examine what is said, not who speaks.
In Section
Seekers of Perl Wisdom