How can I generate a range of IP addresses in Perl?

Posted by planetp on Stack Overflow See other posts from Stack Overflow or by planetp
Published on 2010-02-17T10:13:13Z Indexed on 2010/03/26 7:13 UTC
Read the original article Hit count: 486

Filed under:
|

I need to generate a list of IP-addresses (IPv4) in Perl. I have start and end addresses, for example 1.1.1.1 and 1.10.20.30. How can I print all the addresses inbetween?

© Stack Overflow or respective owner

Related posts about perl

Related posts about ipv4