Hi,
I am not using any references to subroutines in the session data.
And if some objects are implemented in Perl as references to subroutines, and
some data structures include also subroutine references,
some data structures include also subroutine references,
then does it imply that no session management is possible with objects in embperl ???????????????
Best Regards,
-Dhaval.
On 9/1/06, Gunnar Wolf <[EMAIL PROTECTED]> wrote:
dhaval gada dijo [Fri, Sep 01, 2006 at 09:14:37AM -0400]:
> Hi,
> I did try using %udat initially, but it throws the foll error:
>
> Can't store CODE items at blib/lib/Storable.pm (autosplit into
> blib/lib/auto/Storable/_freeze.al) line 282, at
> /usr/local/ext/perl/5.8.0/lib/site_perl/Apache/Session/Serialize/Storable.pm
> line 21
Hi,
Some objects are implemented in Perl as references to subroutines, and
some data structures include also subroutine references. They cannot
be serialized (this means, they cannot be converted into a
representation able to be stored and brought back to life in a
coherent state).
In case you have such an object, instead of storing the object, store
enough information to instantiate it whenever it is needed again.
Greetings,
--
Gunnar Wolf - [EMAIL PROTECTED] - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF