I just noticed the - was a different length, so I changed it, et voila:
perl6 -e "my \foo = Callable but role:: { };"
===SORRY!=== Error while compiling -e
Undeclared routine:
    role used at line 1. Did you mean 'roll'?


On 6/5/17, Parrot Raiser <1parr...@gmail.com> wrote:
> As a kibitzer, I tried that with  "This is Rakudo version 2017.04.3
> built on MoarVM version 2017.04-53-g66c6dda
> implementing Perl 6.c".
> and got:
>
> perl6 –e "my \foo = Callable but role:: { };"
> Could not open –e. Failed to stat file: no such file or directory
>
> while:
> perl6 -e "say 'boo'"
> boo
>
> worked just fine, as you can see.
>

Reply via email to