Dear perl6 community,

I wonder what would be the right syntax for non-core, non-installed modules as discussed in StackOverflow? [1]. In other words, something similar to FindBin::libs in perl5.
The solution I have come across is:

use lib $*PROGRAM.dirname.IO.add('../lib');

Is there a better syntax?

Cheers!


[1] 
https://stackoverflow.com/questions/51089505/trying-to-manage-perl6s-repo-at-runtime/51092821#51092821


--
(≧∇≦) Mimosinnet (Linux User: #463211)

Reply via email to