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


in reply to Re: LWP:UserAgent Use of uninitialized value in subroutine entry at blib\lib\Net\SSLeay.pm
in thread LWP:UserAgent Use of uninitialized value in subroutine entry at blib\lib\Net\SSLeay.pm

I didn't post the whole code because nobody could run it--%missingusers gets populated from a database. It actually works despite throwing that error, so I don't understand why Net::SSleay is even invoked if it's not needed for LWP::UserAgent to work.

Replies are listed 'Best First'.
Re^3: LWP:UserAgent Use of uninitialized value in subroutine entry at blib\lib\Net\SSLeay.pm
by marto (Cardinal) on Mar 27, 2013 at 12:49 UTC

    "I don't understand why Net::SSleay is even invoked if it's not needed for LWP::UserAgent to work."

    Your target is https://api.twitter.com/1/users/lookup.json LWP::UserAgent states:

    "You will need to install LWP::Protocol::https separately to enable support for processing https-URLs."

    LWP::Protocol::https requires Net::SSleay.

    Update: fixed typo.