WWW::Google::AutoSuggest is a perl module that allows you to use Google Suggest in a quick and easy way and returning it as JSON for further inspection