I really don't see what is wrong with using a regex for solving this problem, the date is a string of numbers and regex are perfectly fine for matching strings of numbers. There is no need to reach for Date::Manip to just hunt through a log file for entries in March as an example.
By all means point out that the poster should look at the CPAN Date:: modules if they are doing more complex date operations but I would guess that a link to perlman:perlre would probably be more useful at this stage.
--
Life is a tale told by an idiot -- full of sound and fury, signifying nothing. William Shakespeare, Macbeth
In reply to Re: Re: Date Regex
by greenFox
in thread Date Regex
by danambrose
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |