for my $count ( $start .. $end ) won't work for IP address ≥ to 128.0.0.0 on a 32-bit system. Use a C-style for loop instead.
This was already mentioned (along with the methodology you used) in my earlier node.
In reply to Re^4: IP Iterator
by ikegami
in thread IP Iterator
by camlet
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |