Oh and it does find and read the modules.   If I
give it a bad module name, I get the finger wagged
at me:

# perl6 -I/home/linuxutil/p6lib -e 'use BadName;  ModuleTest; ModuleTst;'
===SORRY!===
Could not find BadName at line 1 in:
    file#/home/linuxutil/p6lib
    inst#/root/.perl6
    inst#/opt/rakudo-pkg/share/perl6/site
    inst#/opt/rakudo-pkg/share/perl6/vendor
    inst#/opt/rakudo-pkg/share/perl6/core
    ap#
    nqp#
    perl5#


As opposed to something it can find:

# perl6 -I/home/linuxutil/p6lib -e 'use ModuleTest;  ModuleTest; ModuleTst;'
===SORRY!=== Error while compiling /home/linuxutil/p6lib/ModuleTest.pm6 (ModuleTest)
Undeclared name:
    ModuleTest used at line 4

Reply via email to