in reply to My code seems messy...

Have you considered trying Date::Parse from CPAN? I don't know whether it supports all date formats that you might encounter, but it does handle several.

(Hmm... I thought perlmonks autolinked references to CPAN modules, but I guess not... What has to be done to get that?)

Replies are listed 'Best First'.
Re^2: My code seems messy...
by davidrw (Prior) on May 13, 2006 at 15:42 UTC
      Aha! So that's the syntax... I found a reference to the cpan://Date::Parse notation, but missed that it needed brackets around it. Thanks!