[perl #33103] Subclass op subclass naming

2004-12-19 Thread via RT
# 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

MMD and VTABLE_find_method

2004-12-19 Thread Leopold Toetsch
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

Re: MMD and VTABLE_find_method

2004-12-19 Thread Sam Ruby
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

Re: 700 tests for PGE

2004-12-19 Thread Patrick R. Michaud
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

auxiliary variables

2004-12-19 Thread tomas . necas
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.

Re: Auto My?

2004-12-19 Thread James Mastros
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

Re: auxiliary variables

2004-12-19 Thread Luke Palmer
[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

Re: Auto My?

2004-12-19 Thread Rod Adams
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

Re: Auto My?

2004-12-19 Thread Luke Palmer
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

Re: Auto My?

2004-12-19 Thread chromatic
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 =