Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: NoXML Google Search API - Premature end of file

by perlmonkey2 (Beadle)
on Aug 23, 2006 at 19:37 UTC ( #569190=note: print w/ replies, xml ) Need Help??


in reply to NoXML Google Search API - Premature end of file

I didn't find the problem in the code. But you might want to rethink SOAP::Lite

use SOAP::Lite; my $google_search = SOAP::Lite->service("file:$google_wdsl"); my $results = $google_search -> doGoogleSearch( $google_key, $query, $current_page*10, 10, "fa +lse", "", "false", "","",""); foreach my $result (@{$results->{resultElements}}) { #do as you will with the results. }
Doesn't get a whole lot easier than that.


Comment on Re: NoXML Google Search API - Premature end of file
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://569190]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2014-10-01 20:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (38 votes), past polls