cbeber has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

I need to transmit data using ftp over an ssl connection. There are some modules that can do this(LWP, Net::FTPSSL), but these won't work because I need to be able to rename files that I've uploaded.

Searching through CPAN I found IO::Socket::SSL, which claims to be a drop-in replacment for IO::Socket::INET. Net::FTP does everything I need, and uses IO::Socket::INET as one of its base classes.

Is there a way to extend Net::FTP so that it uses IO::Socket::SSL instead of IO::Socket::INET as its base class?