Re: use lib and locations in a variable

2021-07-10 Thread ToddAndMargo via perl6-users
On 7/10/21 4:11 PM, Joseph Brenner wrote: I want my test files to be able to find the modules they're testing just using their relative locations, given the usual layout of "lib" and "t" locations in parallel inside the project directory. I find that while this works: use lib $*PROGRAM.par

use lib and locations in a variable

2021-07-10 Thread Joseph Brenner
I want my test files to be able to find the modules they're testing just using their relative locations, given the usual layout of "lib" and "t" locations in parallel inside the project directory. I find that while this works: use lib $*PROGRAM.parent.add('../lib'); This doesn't work: m