How do you parse date/time strings?
I don't parse dates in unknown formats. Most date strings I deal with can be parsed with /(\d\d)/g, as it should be. On rare occasions I've worked with worse formats but the worst case was just building a simple hash of month abbreviations.
When I do parse date strings, I usually parse one per line for tons of lines and so "slow" adds up quickly and so I probably wouldn't use Date::Manip.
Thanks for pointing out how much else Date::Manip does well.
- tye
In reply to Re^5: Ovid's "Please Stop Using Perl 3" (Date::Manip)
by tye
in thread Ovid's "Please Stop Using Perl 3"
by Scott7477
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |