|
|
| Keep It Simple, Stupid | |
| PerlMonks |
converting complex netrange to cidr notationby dino (Sexton) |
| on May 11, 2001 at 08:27 UTC ( [id://79659]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.dino has asked for the wisdom of the Perl Monks concerning the following question:
Hello, basically I want to convert a netrange say: 192.168.0.0 - 192.168.1.15 to the equiv: 192.168.0.0/24 192.168.1.0/28 There are cpan modules that afaik will convert a simple range but not multiple ranges as given above any pointers please Regards dino
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||