use POSIX qw(strftime); print "today's date is ", strftime( '%b %e, %Y', localtime );