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


in reply to Net::SFTP name space conflict with GetOpt::Declare?

I looked at the source for the above modules and GetOpt is actually upsetting Crypt::Random::Generator and not letting it export subroutines.

I won't lie, I don't really know what you should do but I suggest doing a require GetOpt::Declare; instead of useing it...
Its a long shot but I guess its better than nothing:-)
Good luck.