projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4d7252
)
make perldoc ignore null files (it tried to open() them)
author
Gurusamy Sarathy
<gsar@cpan.org>
Sat, 20 Jun 1998 02:48:34 +0000
(
02:48
+0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Sat, 20 Jun 1998 02:48:34 +0000
(
02:48
+0000)
p4raw-id: //depot/perl@1157
utils/perldoc.PL
patch
|
blob
|
history
diff --git
a/utils/perldoc.PL
b/utils/perldoc.PL
index
5b12696
..
ac71dd6
100644
(file)
--- a/
utils/perldoc.PL
+++ b/
utils/perldoc.PL
@@
-226,7
+226,7
@@
sub check_file {
return minus_f_nocase($dir,$file);
} else {
my $path = minus_f_nocase($dir,$file);
- return $path if
length $path and
containspod($path);
+ return $path if containspod($path);
}
return "";
}