Rick Measham <[EMAIL PROTECTED]> schrieb/wrote:
> DateTime::Undef :)
> If all modules return DateTime::Undef and all modules handle it when
> passed it, then everything flows.

> If we return undef, then we need to make sure all methods can handle
> undef parameters cleanly. Of course, we really can't do this because:
>       undef->set( day=>$day )
> is an error .. no matter what!

Actually, DT::Undef is just a special case of the proposed DT::Partial  
object.
If you call set on such an object, it should probably re-bless the  
reference to DT::Partial and return a DT::Partial object in which only  
the set field is valid.

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

Reply via email to