in reply to Using Perl to do SCP

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?


If anyone needs me I'll be in the Angry Dome.

Replies are listed 'Best First'.
Re^2: Using Perl to do SCP
by Rhys (Pilgrim) on Sep 15, 2004 at 15:52 UTC
    That's one of the problems. Multiple errors that include the carriage return character (but no line feed!) are printed to the screen, so you can't see what went wrong.

    I actually got this solved; I'll post the code I used to troubleshoot it in a sec.

    --J