Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: A regex BR variable dead in following line/command

by LanX (Saint)
on Nov 12, 2021 at 16:40 UTC ( [id://11138763]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     
    while( m/REGEX/g ) {
        ... # use groups only if match successful 
    }
    
  2. or download this
    while( m/REGEX/g ) {
        last unless $2;
        ...  
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2024-04-26 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found