Help for this page
pos SCALAR pos Returns the offset of where the last "m//g" search ... will also influence the "\G" zero-width assertion in regular expressions. See perlre and perlop.
my $var = 'the quick brown fox'; ... print "Matched '$1' \@ pos:", pos($var), "\n"; }
www.com | www.net | www.org
Yes No
Results (68 votes). Check out past polls.