Hi,

DateTime::TimeZone 0.52 broke Storable::dclone'ing of DT::TZ::OffsetOnly object.

#!/usr/bin/perl
use strict;
use warnings;
use DateTime::TimeZone;
use Storable;

my $dt = DateTime::TimeZone->new( name => '-0300' );
Storable::dclone($dt);

Run this code and you'll get the following error:

The following parameter was passed in the call to
DateTime::TimeZone::OffsetOnly::new but was not listed in the
validation options: name

I believe this didn't happen with versions earlier than 0.51.


--
Tatsuhiko Miyagawa

Reply via email to