# New Ticket Created by Moritz Lenz
# Please include the string: [perl #64102]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=64102 >
>From S12:
There's also a pseudo-functional form:
$x = "Today" but day(Tue);
which lets you cheat:
$x = "Today" but day(3);
Rakudo doesn't do that yet:
$ perl6 -e 'enum A <B C D>; say A(1).perl'
invoke() not implemented in class 'Perl6Role'
current instr.: '_block21' pc 106 (EVAL_20:57)
called from Sub '!UNIT_START' pc 17513 (src/builtins/guts.pir:350)
called from Sub 'parrot;PCT;HLLCompiler;eval' pc 950
(src/PCT/HLLCompiler.pir:527)
called from Sub 'parrot;PCT;HLLCompiler;command_line' pc 1510
(src/PCT/HLLCompiler.pir:798)
called from Sub 'parrot;Perl6;Compiler;main' pc 21852 (perl6.pir:164)