# New Ticket Created by Solomon Foster
# Please include the string: [perl #112586]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=112586 >
This is perl6 version 2012.04-52-gb64c1e9 built on parrot 4.3.0
revision RELEASE_4_3_0
First, the module is in the lib directory:
Wynne:Math-Prime colomon$ PERL6LIB=lib perl6 t/01-basic.t
ok 1 - First ten primes are correct
ok 2 - Primes 60 through 69 are correct
...etc...
Next two show that adding -Ilib instead of using PERL6LIB doesn't do
anything at all:
Wynne:Math-Prime colomon$ perl6 t/01-basic.t
===SORRY!===
Could not find Math::Prime in any of: /Users/colomon/.perl6/lib,
/Users/colomon/tools/rakudo/install/lib/parrot/4.3.0-devel/languages/perl6/lib,
.
Wynne:Math-Prime colomon$ perl6 -Ilib t/01-basic.t
===SORRY!===
Could not find Math::Prime in any of: /Users/colomon/.perl6/lib,
/Users/colomon/tools/rakudo/install/lib/parrot/4.3.0-devel/languages/perl6/lib,
.
Finally, what happens if we just give it -I, no directory specified?
Wynne:Math-Prime colomon$ perl6 -I t/01-basic.t
No such option -I
[switches] [--] [programfile] [arguments]
With no arguments, enters a REPL. With a "[programfile]" or the
"-e" option, compiles the given program and by default also
executes the compiled code.
...etc...
In other words, it appears -Ilib is being parsed as a meaningful
command line option, but is silently ignored.
--
Solomon Foster: [email protected]
HarmonyWare, Inc: http://www.harmonyware.com