Subject: | Using a range of IP addresses ( $ip - $ip) fails |
Using the following section of code:
Show quoted text
------ begin code ------
#!/usr/bin/perl
use Net::Netmask;
$ip = '192.168.1.1 - 192.168.1.10';
$block = Net::Netmask->new($ip);
----- end code -----
I receive the error:
"could not find exact fit for 192.168.1.1 - 192.168.1.10 at C:\test\x.pl line 7"