Geo::METAR is Perl module for accessing aviation weather information, normally reported in METARs. 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.
· Perl 5.005 or newer
Installing Geo::METAR is an easy process.
$ perl Makefile.PL
$ make test
$ make install
What's New in This Release:
· The METAR parser has been changed to a finite state machine.
· Several other bugs have been fixed, mostly dealing with METARs from outside the U.S.