- or download this
$t = Net::Telnet->new(...);
$t->open(...);
push @array, $t;
- or download this
$hash{"$ip.$ip3.$ip4"} = $t
- or download this
my $base = (192 << 24) + (168 << 16);
foreach my $ip ($base .. $base+65535) {
...
$t->open(...
$hash{$ip} = $t;
}