My favorite part of Perl 6 available now in Perl 5

markjugg on 2008-09-22T14:34:14

Perhaps my favorite parts of Perl 6 are subroutine signatures and getting rid of "my $self = shift;".

These features available now in Perl 5, without source filters, using Method::Signatures.

Sure, it's labeled as "ALPHA" involves some dark magic to make it work, but it's there to play with. And if it can be hacked up as a module, surely it would be feasible to add to Perl 5.12....


why 5.12?

rjbs on 2008-09-22T22:13:29

Heck, if it works well in v8 and v10, why worry about doing anything special in v12? Just wait until you're comfortable with its reliability and start making it a prereq. The future of the core is shinkage, not growth!

Re:why 5.12?

markjugg on 2008-09-23T01:19:00

I'd like it to be less of a black art tool. I'd like to be able to use the debugger with it. I'd like to know that it's future compatible and that "toke.c" won't evolve in a way that will break it.