Help for this page

Select Code to Download


  1. or download this
    VinsWorldcom@C:\Users\VinsWorldcom> perldoc Net::SSH2
    [...]
    error
      Returns the last error code; returns false if no error. In list cont
    +ext, returns (code, error name, error string).
    [...]
    
  2. or download this
    use Net::SSH2;
    [...]
    ...
    [...]
    my ($code, $name, $string) = $ssh2->error;
    print "Error ($code): $name - $string\n";