PHP and Perl version of super simple weather scraper