Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: converting complex netrange to cidr notation

by runrig (Abbot)
on Sep 15, 2011 at 16:12 UTC ( #926184=note: print w/replies, xml ) Need Help??


in reply to converting complex netrange to cidr notation

Net::CIDR::Lite should be able to do this:
use Net::CIDR::Lite; my $cidr = Net::CIDR::Lite->new( '192.168.0.0-192.168.1.15' ); print "$_\n" for $cidr->list();

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2023-10-04 15:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?