On Wed, 30 Jun 2004, Flavio S. Glock wrote: > As for the factory vs. mutator, would anyone give a final word on > whether this should be changed? > > The following DateTime::Set methods could be mutators: > > set_time_zone > set( locale => ... ) > add_duration > add( years => ... ) > subtract_duration > subtract( years => ... )
Yes, please make it so. This will make the API like DateTime.pm, which I think makes learning how to use DateTime stuff easier. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
