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

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

Thread Previous | Thread Next
From:
scozens
Date:
March 22, 2000 18:31
Subject:
Re: What's left to do? [LONG]
Message ID:
492568AB.000D5AB4.00@pwj-gw-n001.pwj.co.jp



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/Find.pm~    Thu Mar 23 11:18:18 2000
+++ lib/File/Find.pm     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>.
+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 @@
 =cut

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


 use strict;



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About