summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/File/Find.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/File/Find.pm b/lib/File/Find.pm
index 50c23da3b1..ab7c189059 100644
--- a/lib/File/Find.pm
+++ b/lib/File/Find.pm
@@ -183,14 +183,16 @@ through a collection of variables.
=over 4
-=item C<$File::Find::dir> is the current directory name,
+=item C<$File::Find::dir> is the current directory name,
=item C<$_> is the current filename within that directory
-=item C<$File::Find::name> is the complete pathname to the file.
+=item C<$File::Find::name> is the complete pathname to the file.
=back
+Don't modify these variables.
+
For example, when examining the file /some/path/foo.ext you will have:
$File::Find::dir = /some/path/