develooper Front page | perl.perl5.porters | Postings from March 2000

Re: What's left to do? [LONG]

Thread Previous | Thread Next
March 22, 2000 18:31
Re: What's left to do? [LONG]
Message ID:

I wrote:
> # Make File::Find export C<$name> etc manually
> Ten or fifteen minutes work for someone with the motivation,
> I'd think.

Or less:

--- lib/File/    Thu Mar 23 11:18:18 2000
+++ lib/File/     Thu Mar 23 11:26:02 2000
@@ -55,7 +55,7 @@

 =item *

-It is guarantueed that an I<lstat> has been called before the user's
+It is guaranteed that an I<lstat> has been called before the user's
 I<wanted()> function is called. This enables fast file checks involving S<

 =item *
@@ -119,7 +119,8 @@
 the complete pathname to the file. You are chdir()'d to
C<$File::Find::dir> when
 the function is called, unless C<no_chdir> was specified.
 When <follow> or <follow_fast> are in effect there is also a
+C<$File::Find::fullname>. These three variables may be imported to the
+caller's namespace.
 The function may set C<$File::Find::prune> to prune the tree
 unless C<bydepth> was specified.
 Unless C<follow> or C<follow_fast> is specified, for compatibility
@@ -173,7 +174,7 @@

 @ISA = qw(Exporter);
-@EXPORT = qw(find finddepth);
+@EXPORT = qw(find finddepth $dir $name $fullname);

 use strict;

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About