Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Using variable to hold regex expression

by Kenosis (Priest)
on Mar 12, 2013 at 00:31 UTC ( #1022905=note: print w/replies, xml ) Need Help??


in reply to Re^2: Using variable to hold regex expression
in thread Using variable to hold regex expression

If I'm understaing you correctly, the my ( $firstIP, $secondIP ) = /($RE{net}{IPv4})/g in the above code does what you've described.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1022905]
help
Chatterbox?
[johngg]: And it was loud - the only gig I've been to that was louder (painfully so) was Dr. Feelgood in a pub in Southend - awesome!
[marto]: Dr. Feelgood in a pub, that must have been a while ago
[johngg]: Yes, must be nearly 30 years ago.
[hippo]: Loudest gig I can recall was Wolfsbane at the Astoria in the early 90s. Head rang for about 3 days afterwards. They were top, though.
[johngg]: My ears are still ringing!
Discipulus was outside The Clash concert in 1985..

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2017-03-24 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (301 votes). Check out past polls.