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

Re: Script to input IP Address and Subnet Bits (10.3.2.0/28)

by psychotic (Beadle)
on Dec 03, 2005 at 15:36 UTC ( #513815=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @ips = qw(   127.0.0.1
                    0.0.0.0
                    256.0.0.1
    ...
        }
        print 'Is', $f ? "" : 'n\'t', " valid and/or usable IP: $ip \n"
    }
    
  2. or download this
    Is valid and/or usable IP: 127.0.0.1 
    Isn't valid and/or usable IP: 0.0.0.0 
    Isn't valid and/or usable IP: 256.0.0.1 
    Isn't valid and/or usable IP: 123.555.333.222666
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2023-02-07 01:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (38 votes). Check out past polls.

    Notices?