in reply to Iterating through all IP addresses in a CIDR
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