in reply to Re^6: Net::SSH2 test connection to remote host
in thread Net::SSH2 test connection to remote host
And I don't see that programming defensively against this kind of bugs is the right thing to do. It just complicates the code unnecessarily. The only reason I see to do that is when the DESTROY method is outside your control (i.e. in a package from CPAN).
But if it's your own code, just...
sub DESTROY { local $@; ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Net::SSH2 test connection to remote host
by JavaFan (Canon) on Oct 01, 2008 at 09:44 UTC | |
by salva (Canon) on Oct 01, 2008 at 10:30 UTC |