in reply to Ubuntu 14.04.1 & Net::SSLGlue::POP3

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.
  • Comment on Re: Ubuntu 14.04.1 & Net::SSLGlue::POP3

Replies are listed 'Best First'.
Re^2: Ubuntu 14.04.1 & Net::SSLGlue::POP3
by JimSi (Novice) on Apr 28, 2015 at 03:01 UTC
    Thank you. Any suggestion for managing SSL and non-SSL POP3 library at the same script? I have this script running on a server, which sounds like have no SSL POP3 library yet, and I am not comfortable yet to upgrade it there, but development machine is my new ubuntu laptop, which has SSL enabled in the library.
      It's not a good idea to have a test setup which does not reflect the production setup, because then the results of your tests are not really trustworthy. Apart from the you might try a conditional load, i.e. something like this
      use Net::POP3; BEGIN { require Net::SSLGlue::POP3 if !defined &Net::POP3::starttls; }
        Thanks, works.