Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-08-28 23:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls