Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #485 from tbrowder/master
make PERL6LIB searchable
  • Loading branch information
tbrowder committed May 1, 2016
2 parents 41bbe3b + 5fa9347 commit 155e9da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Language/5to6-nutshell.pod
Expand Up @@ -1205,7 +1205,7 @@ Perl modules is C<PERL5LIB>.
$ PERL5LIB="/some/module/lib" perl program.pl
In Perl 6 this is similar, one merely needs to change a number! As you
probably guessed, you just need to use C<PERL6LIB>:
probably guessed, you just need to use C<X<PERL6LIB>>:
$ PERL6LIB="/some/module/lib" perl6 program.p6
Expand Down
3 changes: 3 additions & 0 deletions doc/Language/about.pod
Expand Up @@ -92,4 +92,7 @@ is always considered a definition)
=item C<Infix C<Z>>
=item C<trait is cached> (A special case for the L<trait|/language/functions#Traits> documentables)
Note that the C<X<>> construct should make the item searchable from
the search box at the top of each doc page.
=end pod

2 comments on commit 155e9da

@tbrowder
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The X<> doesn't seem to work.

@zoffixznet
Copy link
Contributor

@zoffixznet zoffixznet commented on 155e9da May 1, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably because it's inside C<>. If you just change places it won't work either, it's something like X<C<PERL6LIB>|variables,PERL6LIB>

If you grep the docs for X<C< you'll find some examples.

Please sign in to comment.