> By puking all over them right then and there. While a "DT::Undef" object > might be useful for some, it should not be used as a return value in the > case of an error. People who want to use it can just do this:
I agree. I specifically DON'T want DT::Undef to be returned as an error condition. > which is a lot clearer, IMO. Also, I don't think DT::Infinite is in the > same boat, because that is a legitimate date (that DT::F::Simple must parse, > BTW: /^([-+])?inf(?:inity)?$/i). Returning DT::Infinite is not an error! Null is a just as legitimate as Inf. The idea here is to "encode knowledge". The lack of a date/time is valid information. -J --