good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Module for working with IP Addresses and Rangesby Kanji (Parson) |
on Oct 22, 2010 at 13:31 UTC ( [id://866809]=note: print w/replies, xml ) | Need Help?? |
Not sure on how you're judging suckage, but Net::Netmask includes the helper function range2cidrlist that will turn an arbitrary range into an equivalent array of CIDRs (actually, Net::Netmask objects):-
(match is a Net::Netmask method.) --k.
In Section
Seekers of Perl Wisdom
|
|