Comment: Mere Nit (Score 1) on 2010.06.04 19:24
'7430' seems to be the wrong ticket number in your last link.
Other-wise, it is indeed good news to have modern Rakudo host PGE again. 'A grateful grammar engine still applauds.'
'7430' seems to be the wrong ticket number in your last link.
Other-wise, it is indeed good news to have modern Rakudo host PGE again. 'A grateful grammar engine still applauds.'
Oh, yes, that's exactly the thing.
I think has $.x would have its uses, too; i'll poke around (in spec, code, #perl6) to see what might block/enable it.
class Car { # this is Perl 6 code
my $cars-produced = 0;
has $.cars-produced:= $cars-produced;
submethod BUILD() {
++$cars-produced;
}
}
So you have a shared counter, an alias of it per instance (which seems redundant, but makes it work*... perhaps by some means one could persuade the compiler to compile it away, as it's constant as a reference), and accessors for inheriting.
Rakudo doesn't like the 'has $.x
Somehow I don't see using the 'getperl' name for this as contributing to peace and mutual support in the Perl 5/6 community. Perl 6 is nowhere near ready to stand as the default Perl to use; while Rakudo is getting quite interesting in the breadth and depth of what it implements, it still has holes to fill and needs to get several orders of magnitude faster; its 'ecosystem' is just beginning to be interesting but can hardly compete with CPAN as yet.
A 'getperl' site should for the forseeable future provide for getting both Perl 5 and Perl 6, in a reasonably balanced way. No, I don't know to manage this; perhaps TPF?
(And who, really, could resist its magnificent Tlhingan (Tlingit?) Quch-Hom-woQ?)
Well, and the only. (To date, at least).
A tighter permission check, reasonably cheap: fstat, read, fstat again and check nothing but access time has changed.