On Mon, 08 Oct 2007 03:35:36 +0700, Patrik Hasibuan wrote:
> I can retrieve a content of simple url such as: "http://www.for-success.info"; 
> with LWP::Simple.
> 
> But if I retrieve a little bit more complicated url such as 
> "http://www.google.com/search?q=silicon+valley&start=20"; causes error.
> 
> I need to retrieve this url: 
> http://www.google.com/search?q=silicon+valley&start=20. I use "silicon 
> valley" as the keyword.
> 
> I can visit the url (http://www.google.com/search?q=silicon+valley&start=20) 
> with my firefox properly but I can't do that with LWP::Simple.
> 
> Please tell me what should I do....

Use WWW::Search::Google and your code will be much clearer.  And it will
work.

-- 
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to