The question is very basic. Can I use perl (about the only 'scripting' language I know) to fill out a CGI form (such as http://fermi.gsfc.nasa.gov/cgi-bin/ssc/LAT/LATDataQuery.cgi) and submit? (Once I get the return page I can handle parsing the html and downloading the data via wget). I see that a cgi perl module exists, but it seems to be geared towards creating your own forms for your own server. I have long been doing big automated downloads using html queries (where the relevant stuff is in the URL), but I'm honestly confused where to go with CGI.
I need to query NASA's server for several thousand objects... a push (or a shove) in the right direction would be appreciated.