Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

(tye)Re: converting complex netrange to cidr notation

by tye (Sage)
on May 11, 2001 at 13:33 UTC ( #79663=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    
    ...
    __END__
    192.168.0.0 192.168.255.255
    192.168.1.17 192.168.112.26
    
  2. or download this
    192.168.0.0 - 192.168.255.255:
        192.168.0.0/16
    192.168.1.17 - 192.168.112.26:
    ...
        192.168.112.0/4
        192.168.96.0/12
        192.168.64.0/13
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2023-10-04 17:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?