On Mon, 19 Jun 2000, Jay Jacobs wrote:
> 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
> "Math::Currency=HASH(0x86b022)" instead of the value as it showed the
> first time through.
>
> It's a reference going in, and a reference coming out, but for some reason
> it doesn't like being stuck into Apache::Session.
Which version of Apache::Session are you using? There was an issue with a
recent version and storage of objects. Check the list archives for some
posts on the subject by Jeffrey Baker.
Your message doesn't really explain what the problem is, partly because I
suspect most of us have never used Math::Currency and don't know its
interface. All objects are references, so what's the problem with your
object coming back as a reference?
- Perrin