On Fri Dec 31 09:02:30 2010, moritz wrote:
> moritz@jacq:~/p6/rakudo>./perl6 -e 'BEGIN { a() }'
> ===SORRY!===
> Could not find sub &a
> moritz@jacq:~/p6/rakudo>./perl6 -e 'a()'
> Could not find sub &a
>   in main program body at line 1
> 
> Any code run at BEGIN time lacks a stack trace, which is rather annoying.

Behavior has changed slightly, but is still broken:

$ perl6 -e 'BEGIN { a() }'
===SORRY!===
Could not find sub &a
$ perl6 -e  'a()'
===SORRY!===
Undeclared routine:
    a used at line 1


-- 
Will "Coke" Coleda

Reply via email to