No such thing as a small change | |
PerlMonks |
Re: How do I stop SSH Module from dieing?by Fletch (Bishop) |
on Jan 29, 2007 at 16:09 UTC ( [id://597109]=note: print w/replies, xml ) | Need Help?? |
Wrap the code which is dieing in an eval (the BLOCK form, not the string); Check $@ afterwards and see if the connect was successful.
In Section
Seekers of Perl Wisdom
|
|