|
|
| Problems? Is your data what you think it is? | |
| PerlMonks |
(tye)Re: converting complex netrange to cidr notationby tye (Sage) |
| on May 12, 2001 at 05:30 UTC ( [id://79916]=note: 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.
For a single range, the above solution is the minimal one even if you allow arbitrary masks (though I haven't rigorously proved that -- just supporting your suspicion). If you allow multiple ranges, then the problem gets much harder and it becomes possible for arbitrary masks to provide smaller solutions. - tye (but my friends call me "Tye")
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||