Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
"be consistent"
 
PerlMonks  

(tye)Re2: Challenge Problem: Merging Network Addresses

by tye (Sage)
on Oct 22, 2001 at 20:24 UTC ( [id://120631]=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.


in reply to Challenge Problem: Merging Network Addresses

I combined my range-to-CIDR with runrig's solution to come up with (tye)Re2: Net::CIDR::Lite ?? (Merge CIDR addresses) that does your nm5.in in under 3 seconds (on my computer), can handle addresses with more than 4 octets, and uses bit-wise operations on strings (which makes it a rather Perlish solution). runrig's method of merging ranges is also rather Perlish.

        - tye (but my friends call me "Tye")
  • Comment on (tye)Re2: Challenge Problem: Merging Network Addresses

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://120631]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.