Difficult to comment without seeing your code.
The docs state:
error_handler(sub ref)
This sets up an error handler to catch any problems with a call to 'scp()'. If you do not define an error handler, then a simple 'croak()' call will occur, with the last line sent to the terminal added as part of the error message.
So what is the error does it croak with?
In reply to Re: Using Perl to do SCP
by idsfa
in thread Using Perl to do SCP
by Rhys
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |