in reply to skip directories when using File::Find
File::Find has a variable $File::Find::prune. When it's true, F::F won't descend into any subdirectories of the current directory.
You might also want to monitor $File::Find::dir, if you want to descend inside your $restricted directories
TGI says moo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: skip directories when using File::Find
by agent00013 (Pilgrim) on Jun 28, 2001 at 19:33 UTC |