Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

(MeowChow) Re3: extracting variables from regex

by MeowChow (Vicar)
on Apr 03, 2002 at 12:01 UTC ( #156292=note: print w/replies, xml ) Need Help??


in reply to Re: Re: extracting variables from regex
in thread extracting variables from regex

Why have split at all?
  
echo 192.168.0.1 | perl -nle 'printf "%02X"x4, /\d+/g'
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://156292]
help
Chatterbox?
mr_mischief grabs a spicy cookie.
[mr_mischief]: mmm.
thezip switches the jolokia powder with Folgers Crystals...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2017-04-27 15:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (509 votes). Check out past polls.