undo goofed change 1157 (backed out the fix instead of keeping it)
authorGurusamy Sarathy <gsar@cpan.org>
Sat, 20 Jun 1998 21:12:01 +0000 (21:12 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Sat, 20 Jun 1998 21:12:01 +0000 (21:12 +0000)
p4raw-id: //depot/perl@1161

utils/perldoc.PL

index ac71dd6..5b12696 100644 (file)
@@ -226,7 +226,7 @@ sub check_file {
        return minus_f_nocase($dir,$file);
     } else {
        my $path = minus_f_nocase($dir,$file);
-        return $path if containspod($path);
+        return $path if length $path and containspod($path);
     }
     return "";
 }