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

Re: Net:Addr

by Zed_Lopez (Chaplain)
on Dec 07, 2004 at 02:38 UTC ( [id://412812]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Net::IPv4Addr qw(:all);
    use Regexp::Common qw(net);
    ...
    ipv4_chkip($_) and print "$_ is good\n" for @var;
    print "Regexp::Common:\n";
    /^$RE{net}{IPv4}$/ and print "$_ is good\n" for @var;
    
  2. or download this
    Net::IFv4Addr:
    23.23.109.103 is good
    1.2.3.4.5.6 is good
    Regexp::Common:
    23.23.109.103 is good
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-24 02:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found