in reply to Converting output from numeric values to text

try == instead of =

... and ...

use strict;
and -w

... and ...

you just need to my $New_mo once.

if ($Month == 7) { $New_mo = 'Aug'; }