in reply to localtime $mon

strftime is your friend.
#!/usr/bin/perl -w use strict; use POSIX qw|strftime|; my $month = strftime('%B', localtime); print "$month\n";
Joshua