Re: [Ssh-sftp-perl-users] How to stop "error conditions" from terminating a script.
Brought to you by:
dbrobins
From: Mark A. F. <mar...@ea...> - 2005-05-31 14:22:34
|
From: Jim Lane <Jim...@rc...> >I've seen earlier posts on this list about wrapping an eval around code >to deal with errors but that doesn't seem to work for me. The reason it doesn't work for you is because you've got the piece of SSH code nested within an "if" statement? Can you change your logic to perform the SSH code within an eval, testing the results after? Mark |