Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Regular Expression to Match IP Address

by Dietz (Curate)
on Oct 03, 2004 at 13:06 UTC ( [id://396001]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $range = qr/^
    (
    ...
    $)
    /x;
    print "OK\n" if ($ip =~ /$range/);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (8)
As of 2024-04-24 12:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found