# New Ticket Created by Simon Glover
# Please include the string: [perl #33103]
# in the subject line of all future correspondence about this issue.
# URL: 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) of
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
On Sat, Dec 18, 2004 at 09:49:32PM +0200, Markus Laire wrote:
Here are 700 tests for pge, autoconverted from 're_tests' file, from
perl5 source.
If there are any significant errors in these tests, please tell, and I
can correct the script. Original perl5-tests are in comments so it's
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.
Juerd wrote:
Just typing my before the first use of a variable isn't hard, and it
makes things much clearer for both the programmer and the machine.
Does this imply that it's now possible to type Cmy @foo[23] = 42;, and
declare @foo? In the current perl, this doesn't work -- it's a syntax
[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 ???
and
James Mastros wrote:
Juerd wrote:
Just typing my before the first use of a variable isn't hard, and it
makes things much clearer for both the programmer and the machine.
Does this imply that it's now possible to type Cmy @foo[23] = 42;,
and declare @foo? In the current perl, this doesn't work
James Mastros writes:
Juerd wrote:
Just typing my before the first use of a variable isn't hard, and it
makes things much clearer for both the programmer and the machine.
Does this imply that it's now possible to type Cmy @foo[23] = 42;, and
declare @foo? In the current perl, this doesn't
On Sun, 2004-12-19 at 20:25 -0600, Rod Adams wrote:
One of the other reasons in favor of the idea was aesthetic.
# stuff which declares $x, $z, and $q
$x = 4;
my $y = 7;
$z = 12;
my $r = 4543;
$q = 121;
compared to:
# stuff which declares $x, $z, and $q
$x = 4;
$y = 7;
$z =
10 matches
Mail list logo