summaryrefslogtreecommitdiff
path: root/utils/perldoc.PL
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-02-11 09:27:17 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-02-11 09:27:17 +0000
commit0cf744f2f6675f9433a3526b5d3dd322ee804f14 (patch)
treed0b510544a92ddf7900182978d15d3727810189e /utils/perldoc.PL
parentfe1d48e406eaa1977e84cc1939fcc5d7f475fb44 (diff)
downloadperl-0cf744f2f6675f9433a3526b5d3dd322ee804f14.tar.gz
display full pathname of unreadable files
p4raw-id: //depot/perl@2866
Diffstat (limited to 'utils/perldoc.PL')
-rw-r--r--utils/perldoc.PL4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/perldoc.PL b/utils/perldoc.PL
index 4fff93452f..26335101c0 100644
--- a/utils/perldoc.PL
+++ b/utils/perldoc.PL
@@ -188,7 +188,7 @@ sub minus_f_nocase {
if (!$opt_i or $Is_VMS or $Is_MSWin32 or $Is_Dos or $^O eq 'os2') {
# on a case-forgiving file system or if case is important
# that is it all we can do
- warn "Ignored $file: unreadable\n" if -f _;
+ warn "Ignored $path: unreadable\n" if -f _;
return '';
}
local *DIR;
@@ -227,7 +227,7 @@ sub minus_f_nocase {
return "" unless $found;
push @p, $cip;
return "@p" if -f "@p" and -r _;
- warn "Ignored $file: unreadable\n" if -f _;
+ warn "Ignored @p: unreadable\n" if -f _;
}
}
return "";