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


in reply to Thread-safe SSL IMAP

If you need to multiplex more than one IMAP connection, or do some fake "multiple email" thing, it might be worth it to look into AnyEvent::TLS, which provides SSL sockets for AnyEvent and potentially Net::Async::IMAP::Client, which seems to be based on IO::Async, which works with AnyEvent.