in reply to Pruning directory searches with File::Find
... untested of course. See "perldoc File::Find".if (-d _ and /^_/) { $File::Find::prune = 1; return; }
Update: Or you may want to use "-d $_" instead.
bluto
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pruning directory searches with File::Find
by particle (Vicar) on Jul 25, 2003 at 20:57 UTC | |
by bluto (Curate) on Jul 25, 2003 at 21:03 UTC |