Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

pos()atively mysterious.

by BrowserUk (Patriarch)
on Dec 16, 2002 at 10:27 UTC ( [id://220153]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while( 'the quick brown fox' =~ m/(.)/g) { 
        print "Matched '$1' \@ pos:", pos();
    }
    
  2. or download this
    Matched 't' @ pos:Use of uninitialized value in print at C:\test\temp.
    +pl line 1.
    Matched 'h' @ pos:Use of uninitialized value in print at C:\test\temp.
    +pl line 1.
    Matched 'e' @ pos:Use of uninitialized value in print at C:\test\temp.
    +pl line 1.
    ...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-19 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found