[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: inherted overload & mixed type operations



Ilya Zakharevich wrote:
> 
> If i() returns an overloaded object, the *-method for this object will
> be called.  If you can demonstrate otherwise, it is a bug.

See some examples in the part of the previous message that you skipped.

> 
> But are you sure you defined sub i with prototype ''?

  package PDL::Complex;
  ....
  BEGIN { $i = bless pdl 0,1 }
  sub i () { $i };

> If yes, I may
> need to look into what you wrote again.

I guess you do.

  Christian


References to:
Marc Lehmann <marc@gimp.org>
Ilya Zakharevich <ilya@math.ohio-state.edu>
Marc Lehmann <marc@gimp.org>
Ilya Zakharevich <ilya@math.ohio-state.edu>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]