Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: IP to hex translator

by lodin (Hermit)
on Aug 14, 2008 at 15:12 UTC ( #704366=note: print w/replies, xml ) Need Help??


in reply to Re: IP to hex translator
in thread IP to hex translator

... and you don't even have to write the pattern yourself.

use Regexp::Common 'net'; $ip =~ /^$RE{net}{IPv4}\z/ or die;

lodin

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2022-01-27 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (71 votes). Check out past polls.

    Notices?