Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: printing LAST_MATCH_START/@- LAST_MATCH_END/@+ array where regex match begin/end

by perl_boy (Novice)
on Dec 29, 2021 at 00:57 UTC ( [id://11139996]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open(F0, $ARGV[0]);
    
    ...
    }
    
    close F0;
    
  2. or download this
    print  $+[0], " ",$+[1], " ", $+[2], "\n" ;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-03-29 01:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found