[Catalyst] Session, DateTime and Storable

Yuval Kogman nothingmuch at woobling.org
Tue Jan 1 07:44:57 GMT 2008


http://search.cpan.org/~drolsky/DateTime-0.41/lib/DateTime.pm#DateTime.pm_and_Storable

Sounds like problem in the STORABLE_ methods, it's supposed to Just Work..

On Mon, Dec 31, 2007 at 23:57:40 -0500, 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?
> 
> -=Chris
> 



> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/


-- 
  Yuval Kogman <nothingmuch at woobling.org>
http://nothingmuch.woobling.org  0xEBD27418




More information about the Catalyst mailing list