I realize this is an old post to be replying to, but hit it when messing with &ParseRecur() and thought I'd chime in.
The thing to keep in mind about Date::Manip is that it almost doesn't *care* what format you hand it dates. If you can parse it in your head to come out to a legitimate date, chances are good it can too. Admittedly you can get in a lot of trouble this way, but for amusement some time, take a form with a text input for a date field, release it to the general public and then just parse that field with Date::Manip; log results however you like.
When I did this, I was astonished by the ludicrous number of what I would have considered to be bogus dates that Date::Manip did something intelligent with. It might have returned a partial date at times (and considering your own circumstances, this might be a very bad thing), but it successfully handled *far* more than I had hoped for.
Yes, it's a beast of a module... it's still getting my vote for basic prototyping and all but the most speed-critical code. It's just too keen.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.