bwigfield has asked for the wisdom of the Perl Monks concerning the following question:

I am working on something where given input like "172.16.0.1/24" I would like a method that returns an array of the ip addresses in that subnet range. Does anyone know of a CPAN module that does this or something close?

Replies are listed 'Best First'.
Re: IP and Subnet
by bwigfield (Acolyte) on May 04, 2009 at 17:14 UTC
    Apparently I just needed to search a little longer Net::Subnets does the trick.