On Fri, Jul 31, 2020 at 5:38 PM ToddAndMargo via perl6-users <perl6-us...@perl.org> wrote: > >> Todd, a couple of questions: > >> 1. In your modules that change all the time, do have "use lib ...;" > >> statements in any of them? > > > > No. If I do, they crash > > # use lib '/home/linuxutil/p6lib'; # may not be precompiled; calling > program must take care of this
Just for "-O fun", set up your modules as if they were to be public, i.e., add a META6.jso for the module collection. The collection being "/path/to/MyModules" and in MyModules create: META6.json # create it and add all your modules in it just like you were going to publish the whole mess. ./lib/ # my modules as moved or duped from "/home/linuxutil/p6lib" t/ 00-meta-test.t # some basic test to check your META6.json file Then, in dir "/path/to/MyModules" try: $ zef install . # <== that's a DOT/PERIOD, i.e., the current directory If that works, then you should be able to "use" them from your program. -Tom