in reply to Re^7: Operator overloading with returning lists?
in thread Operator overloading with returning lists?
Let me try to give you a counterexample, here precedence is stronger than scalar_of_array
that's the way I expected x-mult and scalar to work!DB<124> sub scal {return scalar @_ } DB<125> print scal ( (1,2) x 5 ) 10
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Operator overloading with returning lists?
by ikegami (Patriarch) on Dec 01, 2008 at 16:45 UTC | |
by LanX (Saint) on Dec 01, 2008 at 17:04 UTC | |
by ikegami (Patriarch) on Dec 01, 2008 at 17:20 UTC | |
|
Re^9: Operator overloading with returning lists?
by JavaFan (Canon) on Dec 01, 2008 at 16:33 UTC | |
by LanX (Saint) on Dec 01, 2008 at 16:43 UTC | |
by JavaFan (Canon) on Dec 01, 2008 at 16:53 UTC | |
by LanX (Saint) on Dec 01, 2008 at 16:58 UTC |