Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Iterating through all IP addresses in a CIDRby phydeauxarff (Priest) |
on Nov 04, 2003 at 15:09 UTC ( [id://304441]=note: print w/replies, xml ) | Need Help?? |
We had to do the same thing for our IP management system at work. Take a look at Net::Netmask, specifically the enumerate method which will return a list of the IPs within a block
In Section
Seekers of Perl Wisdom
|
|