Smylers wrote:
> Ron Blaschke writes:
> 
>> DateTime::Format::ISO8601 feels rather heavyweight, with dependencies
>> on DateTime
> 
> DateTime _is_ quite heavyweight, but it's also generally right, and
> there's a whole suite of modules which work with it, meaning that you
> can live almost entirely in the DateTime world for all your date- and
> time- stuff.
> 
> For any one individual task you can likely come up with a module which
> just does that and does it more leanly, but there is an advantage in
> having various date- and time-based modules working together, and also
> in having them being based on something which gets right all the really
> awkward bits (such as leap seconds, time zones, and daylight-saving
> time); even if you don't need that, somebody else will.  
> 
> It's a bit of a chicken-and-egg thing, but obviously DateTime is only an
> awkward prerequisite of a module if you don't already have it installed.
> And the more people who embrace DateTime, the more it will be seen as a
> reasonable module for othewr things to be based on.

I spent some time thinking about this, and I guess you are right.  It's
probably best to contribute to DateTime.

Thanks for your advice,
Ron

Reply via email to