Help for this page

Select Code to Download


  1. or download this
    my $prompt = '/\/\.\/->/';
    my $con = new Net::Telnet(Timeout => 400, Prompt => $prompt);
    ...
    print join "\n",@lines;
    @lines = $con->cmd(String => 'reset', Prompt => '/Map1 reset\./');
    $con->close();
    
  2. or download this
    my $prompt = '/\/\.\/->/';
    my $con = new Net::Telnet(Timeout => 400, Prompt => $prompt);
    ...
    print join "\n",@lines;
    @lines = $con->cmd(String => 'reset', Prompt => '/Map1 reset\./');
    $con->close();
    
  3. or download this
    my $cmd = "perl firmwareupdate.pl"
    
    ...
    } else {
    print "Failed\n";
    }