Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

pos()atively mysterious.

by BrowserUk (Patriarch)
on Dec 16, 2002 at 10:27 UTC ( #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? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2022-05-26 06:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (93 votes). Check out past polls.

    Notices?