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



# fine, no error:
$ ./perl6 -e 'use Test'
# not so nice:
$ ./perl6 -e 'use Test; BEGIN { @*INC.unshift("t/spec/packages") }'
===SORRY!===
Can't handle scope declarator my on modules yet

Apparently the BEGIN block is run before the 'use', otherwise it
wouldn't have influenced the 'use' (and thus picked up the wrong Test.pm).

Cheers,
Moritz

Reply via email to