On Sun, 6 Aug 2006, Bill Moseley wrote:
In general, instead of:Carp::croak( "Cannot compare a datetime to a regular scalar" ) unless ( DateTime::Helpers::can( $dt1, 'utc_rd_values' ) && DateTime::Helpers::can( $dt2, 'utc_rd_values' ) ); How about: Carp::croak( "Cannot compare a datetime to a regular scalar [$dt1] [$dt2" ) unless ( DateTime::Helpers::can( $dt1, 'utc_rd_values' ) && DateTime::Helpers::can( $dt2, 'utc_rd_values' ) );
Something along these lines will be in the next release, which should come out some time this week.
-dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/
