summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorjms@mathras.comcast.net <jms@mathras.comcast.net>2005-05-17 10:40:08 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-11-10 14:26:12 +0000
commitbc0bedcc9a054d550e68cd3ebd606b073b4151f7 (patch)
tree0e0a12425d1cbcee4ab2cd7f5a90adb147f8e286 /lib
parent355d3743e65e97364accabb20981fd9938de341c (diff)
downloadperl-bc0bedcc9a054d550e68cd3ebd606b073b4151f7.tar.gz
[perl #35847] File::Find not performing as documented
From: "jms@mathras.comcast.net (via RT)" <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-35847-113088.7.09182163210095@perl.org> p4raw-id: //depot/perl@26076
Diffstat (limited to 'lib')
-rw-r--r--lib/File/Find.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/File/Find.pm b/lib/File/Find.pm
index b481fd8ee6..e41c2418cf 100644
--- a/lib/File/Find.pm
+++ b/lib/File/Find.pm
@@ -120,8 +120,11 @@ If either I<follow> or I<follow_fast> is in effect:
=item *
-It is guaranteed that an I<lstat> has been called before the user's
-C<wanted()> function is called. This enables fast file checks involving S< _>.
+Previous versions of File::Find were guaranteed to call an I<lstat>
+before the user's C<wanted()> function was called, but this is no
+longer the case. Since this depends on C<$File::Find::dont_use_nlink>, $^O,
+and other factors, fast file checks involving C<_> are not recommended
+unless C<wanted()> calls I<lstat> first.
=item *