Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://569190]
[Discipulus]: anyway I lost 15 minutes with lc $str used by me instead of $str = lc $str

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-06-26 11:23 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (577 votes). Check out past polls.