Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
...and unindent those fixed =for blocks.
  • Loading branch information
cfa committed Mar 17, 2018
1 parent f5697a7 commit 27c5923
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/Language/rb-nutshell.pod6
Expand Up @@ -1021,20 +1021,20 @@ In Ruby, one of the environment variables to specify extra search paths for
modules is C<RUBYLIB>.
=for code :lang<shell>
$ RUBYLIB="/some/module/lib" ruby program.rb
$ RUBYLIB="/some/module/lib" ruby program.rb
In Perl 6 this is similar, you merely needs to change the name. As you probably
guessed, you just need to use C<PERL6LIB>:
=for code :lang<shell>
$ PERL6LIB="/some/module/lib" perl6 program.p6
$ PERL6LIB="/some/module/lib" perl6 program.p6
As with Ruby, if you don't specify C<PERL6LIB>, you need to specify the
library path within the program via the C<use lib> pragma:
=for code :skip-test
# Ruby and Perl 6
use lib '/some/module/lib';
# Ruby and Perl 6
use lib '/some/module/lib';
=head1 Misc.
Expand Down

0 comments on commit 27c5923

Please sign in to comment.