Code Golf 3: Googler
Code Golf. As with the real sport the goal is to reduce the number of strokes that it takes to complete a particular objective, although with Code Golf “strokes†refers to keystrokes rather than swings of a golf club.
Write code to return the url’s of the first page of search results for the query ‘perl’ on google.com
There’ll be two categories, one for using perl’s Socket module only, and for those using external libraries.
Good luck!
2 comments
Preserved from the WordPress version of this blog. Commenting is closed.
Napalm
Is that a search for ‘Perl’ or Perl?
Bas Westerbaan
Without the quotes offcourse 🙂