Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Challenge Problem: Merging Network Addresses

by gbarr (Monk)
on Oct 13, 2001 at 03:17 UTC ( #118595=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Socket;
    
    ...
      my $bits = 32 - ($block =~ tr/#/0/);
      print inet_ntoa(pack("B*", $block)),"/$bits\n";
    }
    
  2. or download this
    --- nm3b.out    Thu Oct 11 21:54:06 2001
    +++ nm3b.xx     Sat Oct 13 00:08:51 2001
    ...
    +5.4.3.0/31
     6.6.6.0/27
     6.6.7.0/26
    
  3. or download this
    101.33.45.27/30
    101.33.34.0/24
    
  4. or download this
    use Socket;
    
    ...
      my $bits = 32 - ($block =~ tr/#/0/);
      print inet_ntoa(pack("B*", $block)),"/$bits\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://118595]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2015-07-03 00:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (47 votes), past polls