How-To Fix Perl Error: Can’t locate object method “new” via package “LWP::Protocol::https::Socket”
May.02, 2008 in
How To
I came across the following error while trying to connect to an LDAP server over HTTPS using the Perl module SOAP::Lite:
Can't locate object method "new" via
package "LWP::Protocol::https::Socket"
The way to fix this problem is to install the Crypt::SSLeay module from CPAN.
Hope that helps someone!

May 14th, 2008 at 6:56 pm
hooray! thank you! this helped alot.
I was using LWP::UserAgent…
July 22nd, 2009 at 5:47 pm
Oh thanks, I am using a fedora box and my script did not work
. Now it’s Ok