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."
>
> The following reproduces the error for me:
>
> $c->session->{ 'mydate' } = DateTime->new( year => 2007 );
>
> (for instance in the auto method of the Root controller)
>
> Can somebody confirm this? Any ideas on what's going on and how to fix it?
>
> --TobiasI have the exact same issue. I'm storing my user/roles object data hash in session, and get the same warning all over the place. Annoying as hell. Indeed, if I swap out the DateTime objects for strings before stuffing then in the session, the warnings go away. So yes, I see it too. :-) -=Chris
signature.asc
Description: OpenPGP digital signature
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ Dev site: http://dev.catalyst.perl.org/
