summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Ward <greg@bic.mni.mcgill.ca>1997-09-05 00:00:00 +0000
committerTim Bunce <Tim.Bunce@ig.co.uk>1997-09-05 00:00:00 +0000
commit0530a6c41577c95e7ef7bf1e372d4ed138dc02f3 (patch)
tree118560be710fa3d26b2a337a98ce480d6cd64472
parent918d12b9653da066e0713a14d5129c04c81eb1e7 (diff)
downloadperl-0530a6c41577c95e7ef7bf1e372d4ed138dc02f3.tar.gz
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
-rw-r--r--lib/File/Find.pm4
1 files changed, 4 insertions, 0 deletions
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);