|Just another Perl shrine|
pos()atively mysterious.by BrowserUk (Patriarch)
|on Dec 16, 2002 at 10:27 UTC||Need Help??|
BrowserUk has asked for the wisdom of the Perl Monks concerning the following question:
According to perlop
In scalar context, each execution of m//g finds the next match, returning true if it matches, and false if there is no further match. The position after the last match can be read or set using the pos() function;
But the following snippet
What am I doing wrong?
Examine what is said, not who speaks.