From: Gurusamy Sarathy Date: Sat, 20 Jun 1998 02:48:34 +0000 (+0000) Subject: make perldoc ignore null files (it tried to open() them) X-Git-Tag: accepted/trunk/20130322.191538~37630 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3878625118db6a48d9a6e00ced2a13904510d922;p=platform%2Fupstream%2Fperl.git make perldoc ignore null files (it tried to open() them) p4raw-id: //depot/perl@1157 --- diff --git a/utils/perldoc.PL b/utils/perldoc.PL index 5b12696..ac71dd6 100644 --- 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 ""; }