Subject: | Storable problems |
#! /usr/bin/perl
use DateTime::TimeZone;
use Storable qw( freeze thaw );
my $tz = DateTime::TimeZone->new(name => "Europe/London");
# The following line breaks
my $str = freeze($tz);
# Adding "STORABLE_freeze" and "STORABLE_thaw" methods that simply
# output the TimeZone as a string like "Europe/London" / expect a string
# back should solve this problem.
# Tested with perl-5.8.2
# Storable-2.08
#