Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2015-10-08 18:57 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (223 votes), past polls