[Catalyst] Session, DateTime and Storable

Dave Rolsky autarch at urth.org
Tue Jan 1 16:43:23 GMT 2008


On Mon, 31 Dec 2007, Christopher Laco wrote:

> I've heard mention of this before, but I can't find the thread.
> I have the latest DateTime, Storable and
> Catalyst::Plugin::Session/Authentication and I've getting heap of these
> in my logs:
>
>> Use of uninitialized value in subroutine entry at blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/_freeze.al) line 339.
>
> This seems to be caused by storaing a DateTime object in the session. If
> I store a string instead of a DT instance, the warnings go away.
>
> Anyone have any ideas on this one?

It _should_ work. If you filed a bug report with a simple reproduction 
recipe (that just uses DateTime and Storable, not Catalyst), I'm sure it 
would be fixed.


-dave

/*===================================================
VegGuide.Org                        www.BookIRead.com
Your guide to all that's veg.       My book blog
===================================================*/



More information about the Catalyst mailing list