From 9d8379451873878ac81deb50e7500757d4f8bc16 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 21 Apr 2000 04:43:46 -0600 Subject: 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 --- pod/perldiag.pod | 6 ++++++ pod/perlfunc.pod | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'pod') 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. +=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 diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 09cd437723..f6a7327101 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -2424,8 +2424,6 @@ divided by the natural log of N. For example: See also L for the inverse operation. -=item lstat FILEHANDLE - =item lstat EXPR =item lstat -- cgit v1.2.1