http://qs321.pair.com?node_id=79659

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