in reply to Problem using Perl to access a webpage

Have you tried CGI::Carp to see if you get a better error message.

use CGI::Carp qw(fatalsToBrowser); #remove for production die "Fatal error messages are now sent to browser";

"Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce