Temperature Converter in Perl