Well, that means that $current is -4. Which is probably an error indication of some sort from get_weather(). It's a bit peculiar to have a function return either a HASH ref or a negative number, though (I'd wonder about the sanity of the writer of Geo::Weather if that were the case).