Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
very basic keyword search if index.data exists
  • Loading branch information
stmuk committed Aug 2, 2014
1 parent 4eaa349 commit c24c97d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/p6doc
Expand Up @@ -72,8 +72,8 @@ multi sub MAIN($docee) {
if 'index.data'.IO ~~ :e {
my %data = EVAL slurp 'index.data';
if %data{$docee} {
my $newdoc = %data{$docee}[0][0] ~ "." ~ %data{$docee}[0][1];
return MAIN($newdoc, :f);
my $newdoc = %data{$docee}[0][0];
return MAIN($newdoc);
}
}
show-docs(locate-module($docee));
Expand Down

0 comments on commit c24c97d

Please sign in to comment.