Help for this page

Select Code to Download


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