On Tue, Jan 29, 2002 at 08:55:31PM -0500, [EMAIL PROTECTED] wrote:
> $currency1->currency_object_math(\$currency2, '+');
> 
> In the above example, currency_object_math recognizes $currency2 as a
> simple reference, not a blessed reference.

That's because it is a simple reference.  You're enreferencing it by
prefixing it with the \ operator.


> Can anyone tell me what I'm doing wrong and/or what I need to do?  I'd
> appreciate any help I can get.

You want:

    $currency1->currency_object_math($currency2, '+');


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to