Looks like your Perl6/Raku code is missing the "-e" command line flag:
mbook:~ homedir$ perl6 ' my @x=<a b c D E F h i j>; for @x.rotor(3) ->
($,$,$third) { dd $third };'
Could not open my @x=<a b c D E F h i j>; for @x.rotor(3) -> ($,$,$third)
{ dd $third };. Failed to stat file: no such file or directory
mbook:~ homedir$ perl6 -e ' my @x=<a b c D E F h i j>; for @x.rotor(3) ->
($,$,$third) { dd $third };'
"c"
"F"
"j"
mbook:~ homedir$
HTH, Bill.
On Sat, Nov 23, 2019 at 6:03 PM ToddAndMargo via perl6-users <
[email protected]> wrote:
> On 2019-11-23 04:19, Elizabeth Mattijsen wrote:
> > for lines.rotor(3) -> ($,$,$third) { dd $third }
>
> $ p6 ' my @x=<a b c D E F h i j>; for @x.rotor(3) -> ($,$,$third) { dd
> $third };'
> "c"
> "F"
> "j"
>