It might be that you have installed a version of Net::POP3 which has SSL already built in. Since libnet version 3.0 SSL support is integrated into Net::POP3 so you don't need to use Net::SSLGlue any longer and in fact it conflicts with functions defined in Net::POP3. Just leave Net::SSLGlue away and everything works as expected.