> On Mon, 28 Feb 2005, John Siracusa wrote:
>
> > Can't you just nuke the giant DT:TZ ref before
freezing and have it
> > auto-re-vivify when first used after it's thawed?
IOW, save the TZ string
> > ("floating", "local", "America/Chicago") and then
re-grab a ref to the
> > DT::TZ singleton as needed. That way, you don't
have to freeze the DT::TZ
> > at all.
>
> Oh yeah. That's what it already does ;)
It should do that, but there seems to be something wrong:
$dt = DateTime->today;
$dt->set_time_zone( "America/Chicago" );
print $dt->STORABLE_freeze, "\n" '
utc_rd_days:732005|utc_rd_secs:0|rd_nanosecs:0|version:0.28DateTime::Locale::root=HASH(0x838d4a4)DateTime::TimeZone::America::Chicago=HASH(0x8328ca0)SCALAR(0x8328da8)
- Flavio S. Glock