in reply to Wrote my own date parser
We've all done bits of that, and its not bad for practice. But you'll be better off in the long run using DateTime. Read up on leap seconds in the docs, ask yourself if you want to really deal with that (and all the other stuff - daylight savings, leap years, time zones) or if you'd rather let someone else do it.
Perl Advent Calendar on DateTime. perl.com article. DateTime home.
|
|---|