Re: [Ssh-sftp-perl-users] Net::SSH::Perl error handling
Brought to you by:
dbrobins
|
From: Jacob S. <tre...@re...> - 2005-03-09 18:14:34
|
I subscribed to the list with the same question, which I managed to
figure out. Basically, wrap every single SSH::Perl command with eval {}.
It's worked out very well for me.
Jacob
Ofer Nave wrote:
> As long as I'm here, I just wanted to say that while Net::SSH::Perl is a
> remarkable achievement that I will be eternally grateful fur, I continue
> to be baffled by the fact that there isn't the slightest mention of
> error handling in the docs. How do you tell when something didn't work,
> and how do you find out what went wrong?
>
> If it was right in front of my nose and I missed it, tell me and I will
> stutter and apologize and embarassingly walk backwards out of the room.
>
> -ofer
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Ssh-sftp-perl-users mailing list
> Ssh...@li...
> https://lists.sourceforge.net/lists/listinfo/ssh-sftp-perl-users
>
>
|