summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@courtesan.com>2000-04-21 04:43:46 -0600
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-04 19:02:08 +0000
commit9d8379451873878ac81deb50e7500757d4f8bc16 (patch)
treeb89cf1188e1fabe36fdb31470cad1ef3ef35bfc8 /pod/perldiag.pod
parentecde9bf0b063dc94d08b46396600e0545440c837 (diff)
downloadperl-9d8379451873878ac81deb50e7500757d4f8bc16.tar.gz
Warn under -w if lstat(FH) is attempted.
Subject: [ID 20000421.003] perlfunc says you can lstat a file handle but you cannot Message-Id: <200004211643.e3LGhkX24720@xerxes.courtesan.com> p4raw-id: //depot/perl@6524
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod6
1 files changed, 6 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 930b9de40d..cf6cd19b23 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -1767,6 +1767,12 @@ effective uids or gids failed.
to check the return value of your socket() call? See
L<perlfunc/listen>.
+=item lstat() on filehandle %s
+
+(W io) You tried to do a lstat on a filehandle. What did you mean
+by that? lstat() makes sense only on filenames. (Perl did a fstat()
+instead on the filehandle.)
+
=item Lvalue subs returning %s not implemented yet
(F) Due to limitations in the current implementation, array and hash