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


Hi,

In  Rakudo version 2017.02-56-g9f10434 built on MoarVM version 
2017.02-7-g3d85900
implementing Perl 6.c I observed the following;

Assume that a distribution is at /x/y (on Unix) then;

1) when no environment variable PERL6LIB is set, the modules from the 
/x/y/lib directory can not be found. This is normal.

2) when PERL6LIB is set to the empty string, suddenly it is able to find 
the modules. This is not ok. this is the same when a dot is in the 
string ('.'), to find modules in the current directory. What also 
happens is that the path to the resource is calculated wrong. Assume 
/x/y/resources/a.b, %?RESOURCES<a.b> returns /x/resources/a.b missing 
the /y. When the bowels of the %?RESOURCES are displayed, the repo key 
misses the '/lib' at the end of its repository path.

3) when 'lib' is used in the PERL6LIB variable all is fine.


I was in the habit of using the string '.,lib' until perl6 choose the 
dot over the 'lib' part and got faulty RESOURCES results in one of my 
repositories.

Thanks,
Marcel

Reply via email to