Dave Rolsky <[EMAIL PROTECTED]> schrieb/wrote:
> I think so, but let's give people some time to voice any objections.  This
> will break backwards compatibility, so I want to hear from anyone who
> might have a problem with it.

There's no reason to break backwards compatibility. One could have all  
three flavours of accessors:

  - $dt->set_xxxx(<new value>)  - modifies $dt and returns $dt
  - $dt->with_xxxx(<new value>) - returns modified copy of $dt
  - $dt->xxxx([<new value>])    - modifies $dt (if new value is present)
                                  and returns old value

Claus
-- 
http://www.faerber.muc.de

Reply via email to