Skip to content

Commit 2b4bfef

Browse files
committed
<PerlJam> That p6doc patch isn't quite right. #| and #= don't have to appear at the beginning
1 parent 19725c6 commit 2b4bfef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/p6doc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ sub locate-module(Str $modulename) {
4848

4949
sub show-docs(Str $path, :$section) {
5050
my $pager = %*ENV<PAGER> // ($*OS eq 'MSWin32' ?? 'more' !! 'less');
51-
if not open($path).lines.grep( /^('=' | '#|' | '#=')/ ) {
51+
if not open($path).lines.grep( /^'=' | '#|' | '#='/ ) {
5252
say "No Pod found in $path";
5353
return;
5454
}

0 commit comments

Comments
 (0)