http://www.perlmonks.org?node_id=1087114


in reply to adding worksheet using parse excel::saveparser

OT

You're using a very verbose, awkward, and not very portable method of assigning your date vars.

A much cleaner and portable method would be to use the strftime function from the POSIX module

use POSIX qw(strftime); my $Month = strftime("%b-%Y", localtime); my $date = strftime("%d-%b-%Y", localtime);