Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: pos()atively mysterious.

by rob_au (Abbot)
on Dec 16, 2002 at 10:33 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-19 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found