perlfunc
gods
<P>
pos - find or set the offset for the last/next m//g search
<P>
<HR>
<P>
pos
<FONT SIZE=-1>SCALAR</FONT>
<P>
pos
<P>
<HR>
<P>
Returns the offset of where the last <CODE>m//g</CODE> search left off for the variable is in question (<CODE>$_</CODE> is used when the variable is not specified). May be modified to change that
offset. Such modification will also influence the <CODE>\G</CODE> zero-width assertion in regular expressions. See [perlman:perlre|the perlre manpage] and
[perlman:perlop|the perlop manpage].
<HR>