in reply to SOAP::Lite, WSDL and the example

I tried this:

#!/usr/bin/perl use SOAP::Lite; use SOAP::WSDL; use strict; use warnings; my $service = SOAP::Lite; -> service('http://www.xmethods.net/sd/StockQuoteService.wsdl'); print "MSFT ", $service->getQuote('MSFT'), "\n";

Replies are listed 'Best First'.
Re^2: SOAP::Lite, WSDL and the example
by Anonymous Monk on Oct 03, 2008 at 17:59 UTC
    You have an extra ; after Lite ... use the following: my $service = SOAP::Lite -> service('http://www.xmethods.net/sd/StockQuoteService.wsdl');