in reply to Re: Date Regex
in thread Date Regex
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re3: Date Regex
by dragonchild (Archbishop) on Mar 26, 2003 at 14:48 UTC | |
by greenFox (Vicar) on Mar 27, 2003 at 09:33 UTC | |
by dragonchild (Archbishop) on Mar 27, 2003 at 15:04 UTC |