Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: old code revisited

by myocom (Deacon)
on Sep 08, 2001 at 19:17 UTC ( #111167=note: print w/ replies, xml ) Need Help??


in reply to old code revisited

Also, it's best to call localtime only once and do your manipulations on that (as you did in the array version). If your function version had started at 23:59:59 and took any longer to run than a second, your results would have been wonky. Looks like you got lucky all this time. :-)

"One word of warning: if you meet a bunch of Perl programmers on the bus or something, don't look them in the eye. They've been known to try to convert the young into Perl monks." - Frank Willison


Comment on Re: old code revisited

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2014-09-23 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (210 votes), past polls