[Catalyst] Storing DateTime in session causes warning

Jason Kohles email at jasonkohles.com
Fri Nov 16 13:32:00 GMT 2007


On Nov 16, 2007, at 6:39 AM, Tobias Kremer wrote:

>>> 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...

-- 
Jason Kohles, RHCA RHCDS RHCE
email at jasonkohles.com - http://www.jasonkohles.com/
"A witty saying proves nothing."  -- Voltaire





More information about the Catalyst mailing list