a look into this, because it should not be too complicated given that there are ready available TLS-functions for perl which can transform a given connection into a secure one.
I don't see anything obvious on CPAN. Is there some module I'm not seeing that supports TLS generically, or were you planning on ripping code out of something else (like Net::LDAP)?
John