in reply to Catching die in Net::SFTP / Net::SSH::Perl:

... What am I supposed to do?

Fix the scoping problems with eval { }?  What exactly are they?