Help for this page

Select Code to Download


  1. or download this
    "my" variable $file masks earlier declaration in same scope at test-a-
    +filehandle.pl line 17.
    syntax error at test-a-filehandle.pl line 19, near "<$file> {"
    Execution of test-a-filehandle.pl aborted due to compilation errors.
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
    $ssh->send("exit\n");
    $ssh->close();
    }