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


in reply to Re^4: HTTP error response code 500 using LWP::UserAgent on one site, but not on any other
in thread HTTP error response code 500 using LWP::UserAgent on one site, but not on any other

use IO::Socket::SSL qw(debug3);

Also, http://search.cpan.org/perldoc/Crypt::SSLeay#SSL_diagnostics_and_Debugging lists $ENV{HTTPS_DEBUG} = 1;