in reply to get all ips within a range
<plug type="shameless">You can also give NetAddr::IP a try. There's a tutorial I wrote that teaches how to do this and much, much more.</plug>
Best regards
-lem, but some call me fokat