Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: adding worksheet using parse excel::saveparser

by fishmonger (Pilgrim)
on May 22, 2014 at 16:19 UTC ( #1087114=note: print w/ replies, xml ) Need Help??


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);


Comment on Re: adding worksheet using parse excel::saveparser
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1087114]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2014-09-18 03:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (105 votes), past polls