http://www.perlmonks.org?node_id=830817


in reply to Re^3: Net::OpenSSH in a mod_perl handler
in thread Net::OpenSSH in a mod_perl handler

Excellent! This fixes the problem, at least with mod_perl 1 (mod_perl 2 not tested).