Take a look at Net::Netmask, specifically the enumerate method which will return a list of the IPs within a block
In reply to Re: Iterating through all IP addresses in a CIDR
by phydeauxarff
in thread Iterating through all IP addresses in a CIDR
by grinder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |