Mark Jason Dominus wrote:
If the match has failed C<undef> is returned.
... unless the /c option was used.
but if it never matched before /c was used it'll be still undef. So should the wording be:
Returns the offset of where the last C<m//g> search (without /c) left off for the variable in question (which is C<$_> when the variable is not specified). If that match failed C<undef> is returned. May be
modified to change that offset. Such modification will also influence
the C<\G> zero-width assertion in regular expressions. See L<perlre>
and L<perlop>.
IMHO, anyway.
-=- James Mastros
