[Catalyst] Session, DateTime and Storable

J. Shirley jshirley at gmail.com
Tue Jan 1 17:21:58 GMT 2008


On Jan 1, 2008 9:15 AM, Christopher Laco <claco at chrislaco.com> wrote:

> Dave Rolsky wrote:
> > 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
>
> I'll start digging around this morning andsee if I can come up with
> something.
>
> -=3DChris
>
>
> _______________________________________________
> 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/
>
>

Make sure you have latest DateTime::Locale -- it is a separate dist, and has
caused problems for me in the past.  Although the latest versions of
DateTime do force 0.35 of ::Locale, it may still be relevant.

Maybe...


*shoots in the dark*

:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080101/85ee0=
3ba/attachment.htm


More information about the Catalyst mailing list