# New Ticket Created by Simon Glover
# Please include the string: [perl #33103]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org:80/rt3/Ticket/Display.html?id=33103 >
This code snippet:
newclass P0, "City"
subclass P1, P0, "New York"
The current MMD scheme is strictly 2-dimensional and it is totally
static. It is not suitable for supporting Perl6 in it's current form.
1) summary of current state
MMD (multi method dispatch) is used to find a method for binary
operations like "add" or "cmp" depending on the classes (or types)
Leopold Toetsch wrote:
2) n-dimensional MMD
Perl6 supports a more general form of MMD:
multi sub foo(ClassA $a, ClassB $b, ClassC $c : ...) { ... }
[snip]
4) Proposed changes:
a) All method lookup goes through VTABLE_find_method. To achieve MMD
functionality, two arguments are added to the find_
Please
Lets have two scalars variables in Perl and some operation under
them like an adding.
x = a + b
I would like know, witch auxiliary variables are creating
on the in-line code like a Parrot
somethink like T = a + b
x = T ???
and on witch circumstances depends it.
[EMAIL PROTECTED] writes:
> Please
> Lets have two scalars variables in Perl and some operation under
> them like an adding.
> x = a + b
> I would like know, witch auxiliary variables are creating
> on the in-line code like a Parrot
>
> somethink like T = a + b
> x = T ???