Skip to content

Commit b9e3791

Browse files
committed
Merge pull request #24 from stmuk/master
fix 1 reported issue with p6doc eval breakage and fix p6doc under star
2 parents 1e3415f + a869400 commit b9e3791

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ A HTML version of this documenation can be found at http://doc.perl6.org/
44

55
With a Rakudo 'perl6' executable in PATH, try
66

7-
./bin/p6doc Str
7+
./bin/p6doc Type::Str
88

99
to see the documentation for class Str, or
1010

11-
./bin/p6doc Str.split
11+
./bin/p6doc Type::Str.split
1212

1313
to see the documentation for method split in class Str
1414

bin/p6doc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ sub show-docs(Str $path, :$section) {
6363

6464
multi sub MAIN() {
6565
say 'What documentation do you want to read?';
66-
say "Examples: $*PROGRAM_NAME Str";
67-
say " $*PROGRAM_NAME Str.split";
66+
say "Examples: $*PROGRAM_NAME Type::Str";
67+
say " $*PROGRAM_NAME Type::Str.split";
6868
}
6969

7070
multi sub MAIN($docee) {
7171
return MAIN($docee, :f) if defined $docee.index('.') ;
7272
if 'index.data'.IO ~~ :e {
73-
my %data = eval slurp 'index.data';
73+
my %data = EVAL slurp 'index.data';
7474
if %data{$docee} {
7575
my $newdoc = %data{$docee}[0][0] ~ "." ~ %data{$docee}[0][1];
7676
return MAIN($newdoc, :f);

0 commit comments

Comments
 (0)