the > I have this Perl 6 script from Rosetta, which I wanted to run on Perl 5
> (due to the Active Sate Perl and App version that I have).
If ActiveState have packaged https://metacpan.org/pod/Inline::Perl6
then please install and use that. (If they haven't, please ask them to
do so.)
> However
Oops, missed the ending.
loop with a parens argument is like a C for with
3 args, init, test, next.
The next bit is:
($t, @ABC) »+=« (.01, dABC($t, @ABC, .01))
The » and « opops (or metaops) pack a whole lot of power but
can also be used for relatively simple cases like this one in which
th
hello Rui,
> I have this Perl 6 script from Rosetta, which I wanted to run on Perl 5
> (due to the Active Sate Perl and App version that I have).
Perl6 and Perl5 are very different. you need to download a perl6
interpretor if you want to run perl6 code.
please check https://rakudo.org/.
regards
Yes, Perl 5 and Perl 6 are quite different in many ways. Some suggested that
Perl 6 be looked at as not the next iteration of Perl but a new language that
can be made backward compatible with Perl 5 (there are switches etc that let
you run P5 code unchanged) but it is not the case of P5 being a
Hi Rui, Have you considered just installing Perl 6 ?
https://rakudo.org
https://www.perl6.org
Spoiler alert: the Perl6 code you posted works with no errors on my
Perl6 install.
Best Regards, Bill.
On Thu, Aug 8, 2019 at 1:07 PM Rui Fernandes wrote:
>
> Greetings
>
> I have this Perl 6 script
[ Executive Summary: Install Perl 6; it will not disturb your Activestate Perl
5 : https://rakudo.org/files ]
> On Aug 8, 2019, at 3:07 PM, Rui Fernandes wrote:
>
> Greetings
Hi Rui!
>
> I have this Perl 6 script from Rosetta, which I wanted to run on Perl 5 (due
> to the Active Sate Perl