On Sat, 27 Dec 2008, Moritz Lenz via RT wrote:
Example:
[j...@groovy perl6]$ cat x.p6
use Foo;
[j...@groovy perl6]$ ../../parrot perl6.pbc --target=past x.p6
Can't find ./Foo in @INC
So does Foo.{pm,pir} not exist while you compile x.p6?
correct. after reviewing the changes to rakudo, i understand why use now
works this way. but it breaks things in interesting ways, especially for
modules whose dependencies cannot be met during a precompilation phase
(e.g. loading PIR that dlfuncs from the embedding apache process).
maybe i haven't thought about this enough. i'll flesh it out a bit and
post to the list for comment.
-jeff