On Jul 15, 2004, at 2:40 PM, Dave Rolsky wrote:
It would be really nice if strptime() was built into DateTime probably by absorbing DateTime::Format::Strptime. This would round out the input/output interface nicely.
If there is only _one_ formatting method in DateTime.pm, strftime(), then I think it might make sense for there to be only _one_ parsing method, and strptime() is the natural choice. If the module is heavy, maybe it could just be loaded on demand by a strptime() method?
sub strptime {
require DateTime::Format::Strptime;
...
}Regards,
David
