in reply to Re: Module for working with IP Addresses and Ranges
in thread Module for working with IP Addresses and Ranges

By the way,
my @bytes; while ($address =~ /(\d+)/g) { push @bytes,$1 }
can be written as
my @bytes = $address =~ /(\d+)/g;
so you end up with
unpack('N', pack('C*', $address =~ /(\d+)/g))