Ruben Fonseca wrote:
> 
> On 2008/01/01, at 04:57, 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?
> 
> The only thing I can tell you about this is: STAY WAY FROM SERIALIZING
> DATETIME INTO STORABLE!
> 
> I've had a project that did that, and I had tons of problems, some like
> the warnings you mentioned and others resulting in real 'dies'.
> 
> I've asked this mailling list without any good tip. I was so angry then
> that I solved my problem once and for all by storing the individual
> parts of datetime in the storable (month, day, year, ....).
> 
> Probably the stupidest solution, but it solved my problems after 1 month
> of battle.
> 
> Ruben


A Catalyst project?
What Session Store were you using?

Attachment: 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/

Reply via email to