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

Re^4: regex statement to call variable value is not working??

by Corion (Patriarch)
on May 13, 2015 at 09:02 UTC ( [id://1126530]=note: print w/replies, xml ) Need Help??


in reply to Re^3: regex statement to call variable value is not working??
in thread regex statement to call variable value is not working??

Maybe you want to remember in your loop if you already printed a line?

You could also modify your regular expression so it matches for all elements at once instead of doing a loop over it.

  • Comment on Re^4: regex statement to call variable value is not working??

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-10-09 12:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (45 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.