# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #57078] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57078 >
According to t/spec/S29-context/sleep.t (in the Pugs repo), you're supposed to do this: my $sleep_says = sleep 3; but $ ./perl6 -e 'sleep 3' # works $ ./perl6 -e 'my $a = sleep 3;' Null PMC access in can() current instr.: 'parrot;Perl6Object;infix:=' pc 37 (src/gen_builtins.pir:45) called from Sub '_block11' pc 36 (EVAL_11:16) called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:481) called from Sub 'parrot;PCT::HLLCompiler;command_line' pc 1305 (src/PCT/HLLCompiler.pir:708) called from Sub 'parrot;Perl6::Compiler;main' pc 14346 (perl6.pir:172) $