On Thu, 24 Jun 2004 [EMAIL PROTECTED] wrote: > Dave Rolsky wrote: > > But DateTime.pm already has a set_time_zone() > > method, and people are likely going to be exposed > > to that before DateTime::Set, so I think > > keeping them consistent is more important. > > how about to emit a warning and "usage" if a DateTime::Set method is > used in an unexpected context: > > DateTime::Set::foo was called in void context. Usage: $new_set = > $set->foo() at xxx line xxx.
Unless anyone out there is really on DateTime::Set->set_time_zone not mutating the set, I don't see why we can't change it. Warnings are pretty annoying. When things don't work, people will (I hope) read the docs to make sure they're doing the right thing. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/