In Using the Open Weather Map API with curl we saw how to fetch the weather using curl. Now we are going to use Perl as that will make it easier to use this as part of a larger application. Before you read this article, make sure you read the one using curl.