Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: pos()atively mysterious.

by rob_au (Abbot)
on Dec 16, 2002 at 10:33 UTC ( #220154=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    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.
    
  2. or download this
    my $var = 'the quick brown fox';
    
    ...
        print "Matched '$1' \@ pos:", pos($var), "\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://220154]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2022-05-18 02:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (68 votes). Check out past polls.

    Notices?