Geo::METAR

Geo::METAR is a Perl module for parsing METAR data (aviation weather reports). You can retrieve weather data from airports around the world. and get the current temperature, cloud coverage, and so on. Included in the distribution is a sample Perl script that uses LWP to fetch current data from the airport of your choice and spits out the current temperature.