I wanted to have fun with the google API, so I combined it with a genetic algorithm. It evolves search terms. The fitness function uses the parts of the answers that is returned by the google search server as parameters.
I've ran out of idea as to what to do with it. If someone thinks of something, all the code is here. Or let me know.
The top level file is GoogleEvolver.pl. It could be adapted to do something else very easily just by changing parameters in the fitness function (the function that evaluates individuals). All the rest (selection, sexual reproduction, mutation, population control) is implemented.
Back to Cool Uses for Perl