[Catalyst] Storing DateTime in session causes warning

Tobias Kremer list at funkreich.de
Fri Nov 16 13:58:55 GMT 2007


Quoting Jason Kohles <email at jasonkohles.com>:

> >>>> Tobias Kremer wrote:
> >>>> I'm storing a DateTime object in $c->session and I just realized
> >>>> that
> >>>> this is causing the following warning on every request:
> >>>>
> >>>> "Use of uninitialized value in subroutine entry at ../../lib/
> >>>> Storable.pm
> >>>> (autosplit into ../../lib/auto/Storable/_freeze.al) line 290."
> >
> >> What version of DateTime::Locale do you guys have?
> >> 0.32 had a bug in it that didn't play nice with storable, so make
> >> sure you
> >> have the latest.
> >
> > I'm on v0.35, so unfortunately it's not the culprit :(
> >
> Maybe not that specific bug, but I was unable to recreate the problem
> with 0.41...

My DateTime version is 0.41, too. DateTime::Locale is a separate module
with v0.35 being the latest version.

--Tobias



More information about the Catalyst mailing list