toadi has asked for the wisdom of the Perl Monks concerning the following question:
This is my code if file do something in sub. But how can i say not recurse directories in this code?find (sub { return unless -f;# only files &putid($File::Find::name); }, $ARGV[0]);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File::Find not recursive
by merlyn (Sage) on May 31, 2001 at 18:44 UTC | |
|
Re: File::Find not recursive
by Beatnik (Parson) on May 31, 2001 at 20:31 UTC |