|P is for Practical|
Perl and Google APIby doonyakka (Beadle)
|on May 18, 2002 at 00:36 UTC||Need Help??|
doonyakka has asked for the
wisdom of the Perl Monks concerning the following question:
Hi all. I'm new to this and I've probably made some elementary error, so please bear with me :)
I want to read a wordlist from a text file and pass each word as a query to Google API. If the query returns more than 100 hits, then I want to write that word to a new file.
The relevant code snippet is:
The problem I'm having is that the first word is queried and I get a $hitCount, but after that it's "500 Internal Server Error". Any idea what's causing this and how to solve it?
Thanks to all the Monks.