Re: Apache::Session Math::Currency thawing issue.

2000-07-20 Thread Ken Williams
This is a followup to an old message from June 19, to tie up loose ends. A simple test case shows that the problem described here is a bug in either Storable.pm, overload.pm, or Perl. Freezing and thawing an object seems to destroy any overloaded operators of that object. I'm starting to

Apache::Session Math::Currency thawing issue.

2000-06-19 Thread Jay Jacobs
Hello, I'm trying to use Math::currency with sessions, and I've run into a stumper. I initialize variables and make them Math::Currency objects, and display them just fine, but when I come back (unthaw the session) instead of seeing the value I get the reference showing

Re: Apache::Session Math::Currency thawing issue.

2000-06-19 Thread Jay Jacobs
First off, I'm doing this becuase I need to store variables (in currency) that are generated on a per-user session, for a short period of time (3 to 5 requests). I'm using a database back-end for the session. I was initially wrong in my thinking about Math::Currency, and my solution was to