in reply to Re: Perl 5, Python, Rakudo, C/C++, Java, Lua?
in thread Perl 5, Python, Rakudo, C/C++, Java, Lua?

You can do tail calls in Perl5 now: 5.4.2 Creating Tail Calls in Higher Order Perl; see also Sub::Call::Tail.

The CPAN has plenty of “interesting” code that doesn’t work everywhere Perl5 does. It seems likely that a slightly smaller portion would be able work under any kind of harness, Perl6 or otherwise.

  • Comment on Re^2: Perl 5, Python, Rakudo, C/C++, Java, Lua?

Replies are listed 'Best First'.
Re^3: Perl 5, Python, Rakudo, C/C++, Java, Lua?
by einhverfr (Friar) on Apr 08, 2015 at 07:02 UTC
    Yes you can. goto &subname also does them. I don't see anything in Perl 6 docs for this functionality however.