My business needs a script (most likely in perl) that will generate a report containing the top 1000 results in google for any particular query. The query can be entered manually, or multiple queries can be loaded from a list. This report needs to contain several datapoints including the rank the domain was in the SERPS, the number of yahoo backlinks and alexa ranking. The report should be able to be sorted by datapoint. This script should take no longer than two weeks and should be quick and easy for someone who knows what they're doing.