Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
put use lib into the index
  • Loading branch information
gfldex committed Oct 5, 2016
1 parent 92f7367 commit ed53481
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions doc/Language/modules.pod6
Expand Up @@ -337,16 +337,21 @@ Then use the tag you like and pick the symbol by its name.
=head2 Finding Modules
A user may have a collection of modules not found in the normal
ecosystem but needed regularly. Instead of using the C<lib> pragma
one can use the C<PERL6LIB> environment variable to point to module
locations. For example:
X<use lib>
A user may have a collection of modules not found in the normal ecosystem,
maintained by a module or package manager, but needed regularly. Instead of
using the C<use lib> pragma one can use the C<PERL6LIB> environment variable to
point to module locations. For example:
export PERL6LIB=/path/to/my-modules,/path/to/more/modules
Note that the comma (',') is used as the directory separator (instead
of the colon (':') as with Perl 5 for C<PERL5LIB> or C<PERLLIB>).
The include path will be searched recursively for any modules when Rakudo is
started. Directories that start with a dot are ignored and symlinks are
followed.
=head1 Distributing Modules
If you've written a Perl 6 module and would like to share it with the
Expand Down

0 comments on commit ed53481

Please sign in to comment.