On Wed, 2004-10-20 at 19:37, [EMAIL PROTECTED] wrote:
> but when i try to put a new object or something...
> 
> my $something = new Object();
> $session{something} = $something;
> 
> ... i have an error like this:
> 
> [Wed Oct 20 18:21:55 2004] null:        (in cleanup) Can't store CODE items at
> ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_freeze.al) line
> 287, <FORM
> A> line 280, at /usr/share/perl5/Apache/Session/Serialize/Base64.pm line 22
> 
> It seems that i can't update the database.

Did you figure it out already?  You can't put this object in because the
Storable module can't serialize it.  It's complaining that you have a
CODE ref in it.  That could be an anonymous sub, or a reference to a
named method.  You just need to give it objects that don't contain CODE
refs.

- Perrin


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to