Scott Aitken wrote: >Is there a way to handle to the fatal error, or force DT to return >undef if the date/time is invalid?
Yes. This is a general Perl programming issue. $dt = eval { local $SIG{__DIE__}; DateTime->new(@args) }; unless(defined $dt) { # error message is in $@ } -zefram