From 0530a6c41577c95e7ef7bf1e372d4ed138dc02f3 Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Fri, 5 Sep 1997 00:00:00 +0000 Subject: [PATCH] Document that File::Find doesn't follow symlinks Subject: following symlinks with File::Find The behaviour of File::Find with respect to symbolic links is inconsistent between Perl 5.002/5.003 and 5.004_02. Since 5.004_02's behaviour (don't follow symlinks) is more consistent with `find' itself, this is probably more of a documentation bug -- i.e., the File::Find man page should mention that 1) it doesn't follow symlinks, and 2) previous versions did, so watch out! p5p-msgid: 199708191853.OAA07111@bottom.bic.mni.mcgill.ca --- lib/File/Find.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/File/Find.pm b/lib/File/Find.pm index 1d565f2871..033cfe5e9d 100644 --- a/lib/File/Find.pm +++ b/lib/File/Find.pm @@ -65,6 +65,10 @@ that don't resolve: -l && !-e && print "bogus link: $File::Find::name\n"; } +=head1 BUGS + +There is no way to make find or finddepth follow symlinks. + =cut @ISA = qw(Exporter); -- 2.34.1