Strange Error in Perl

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Strange Error in Perl

Postby kk2die4 » 09. March 2007 12:41

Hi all,

I downloaded the new version of XAMPP and since then I am getting
this streange error on any perl program that tries to connect to any
website. ( If I use SOAP or use LWP ).

Programs which worked with an older version of XAMPP throw this
error. Can anyone tell me what I need to do ?

This is the error.

500 Can't locate object method configure via package Net::HTTP

My code is below

Thanks guys
=============================================

my $soap;

my $lat = "41.1875";
my $lon = "286.8125 ";
my $startdate = "2007-03-09";
my $numdays = "5";
my $format = "12 hourly";

$soap = SOAP::Lite
->proxy('http://weather.gov/forecasts/xml/SOAP_server/ndfdXMLserver.php')
->uri('http://weather.gov/forecats/xml/DWMLgen/wsdl/ndfdXML.wsdl#NDFDgenByDay')
->NDFDgenByDay(SOAP::Data->name("latitude" => $lat),
SOAP::Data->name("longitude" => $lon),
SOAP::Data->name("startDate" => $startdate),
SOAP::Data->name("numDays" => $numdays),
SOAP::Data->name("format" => $format));

print $soap->result;
kk2die4
 
Posts: 7
Joined: 28. December 2006 10:13

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 84 guests