Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime-TimeZone CPAN distribution.

Report information
The Basics
Id: 5542
Status: resolved
Priority: 0/
Queue: DateTime-TimeZone

People
Owner: Nobody in particular
Requestors: d.rowles [...] outcometechnologies.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.2507
Fixed in: 0.26



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 #
Date: Wed, 3 Mar 2004 13:02:02 -0600 (CST)
From: Dave Rolsky <autarch [...] urth.org>
To: Guest via RT <bug-DateTime-TimeZone [...] rt.cpan.org>
Subject: Re: [cpan #5542] Storable problems
RT-Send-Cc:
On Wed, 3 Mar 2004, Guest via RT wrote: Show quoted text
> #! /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);
Define "breaks", please. Show quoted text
> # 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.
This needs to be done for different reasons, since there's no need to store such a huge data structure. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/