On 7/14/03 12:36 PM, Hill, Ronald wrote: > Can I encourage you to put together a Format::Simple module > and release it? I think we need something out there for > very basic date parsing. There is the DateTime::Format::HTTP > that comes very close ( It works great on Ingres dates/times). > Or maybe the regrex that you provided can be incorporated > into HTTP?
I'd gladly release the DateTime::Format::Simple I whipped up, but only if there is consensus about the scope of the module and the name ::Simple. Mine is really ::DeadSimple :) I suspect someone else out there might want to use the ::Simple namespace for something slightly less simple than the handful of regexes and constant strings I posted earlier. Opinions? Also, I'm slightly confused about the "responsibilities" of a DateTime::Format:: module. Does such a module have to have format_* methods, or can it get by with just parse_datetime()? I'm not sure what a format_* method for ::Simple should produce... -John
