Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Do you know where your variables are?
 
PerlMonks  

Re: Managing your IP space with Perl

by blakem (Monsignor)
on Aug 16, 2002 at 09:02 UTC ( #190615=note: print w/ replies, xml ) Need Help??


in reply to Managing your IP space with Perl

Nice tutorial, ++. For a fun diversion, you might also enjoy reading the responses to Challenge Problem: Merging Network Addresses which deals with a specific task in the same problem domain.

-Blake


Comment on Re: Managing your IP space with Perl
Re^2: Managing your IP space with Perl
by runrig (Abbot) on Nov 22, 2004 at 05:59 UTC
    FYI,

    Just for kicks, I was going to try running a benchmark of this module on the nm5.in file in Challenge Problem: Merging Network Addresses, and since I'm on WinXP at the moment, I tried using ppm to install this module, and could not install it because it was not in ActiveState's ppd repository (yes, I know if it's pure perl I can just copy it, but I don't want to do that badly enough). When I checked the ppd build status, I saw that it failed on several platforms (Win, Solaris,HP). You may or may not want to address that issue in the next version, if possible. Even if I could run it on the nm5.in file in Dominus' test suite, I see that it would involve creating a rather large array using this method (then again, so did using Net::CIDR). I don't know how 'real world' that file is, so I couldn't say how fair it is to use it in judging your module. Just one issue to keep in mind when solving this sort of problem :-)

    Update: Sorry, meant to reply to the root post. Also just noticed that this whole thread is a couple of years old, just saw it due to a recent post further down.

      >When I checked the ppd build status, I saw that it failed on
      >several platforms (Win, Solaris,HP).
      It didnt seem to fail, just not pass all tests because some other module (Test::Pod) was not installed.... Is this so old that now a new module is used instead? Anyone knows which?
      To install: make a directory called NetAddr in ...perl/site/lib and copy the ip.pm file there as mentioned (this post for completness and because being a newbe it took me some amount of time)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (14)
As of 2014-04-17 20:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (454 votes), past polls