Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of markjugg (792)

Monday September 22, 2008
09:34 AM

My favorite part of Perl 6 available now in Perl 5

[ #37509 ]

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....

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • 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!

    --
    rjbs
    • 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.