# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #62186]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=62186 >


I'm toying around with precompilation in Rakudo r35404.

I can print the value of a 'time' call directly.

$ ./perl6 -e 'say time' # works fine
1231679122.805

But I don't seem to be able to put the 'time' call in a BEGIN block,
compile it, and then print the result of the block at runtime.

$ ./perl6 --target=PIR --output=precompiled.pir -e 'my $a = do BEGIN {
time }; say $a'
$ ../../parrot precompiled.pir # doesn't work fine
_block27

Reply via email to