Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Using Perl to do SCP

by idsfa (Vicar)
on Sep 15, 2004 at 15:45 UTC ( [id://391217]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://391217]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-25 07:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found