in reply to File::Find managing the %options versus \&wanted dichotomy
You put the \&wanted into the options hash. Example from documentation:
use File::Find; find({ wanted => \&process, follow => 1 }, '.');
Note also that \&wanted can return 0 to prune the tree (prevent processing sub dirs below the current one).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File::Find managing the %options versus \&wanted dichotomy
by anonymized user 468275 (Curate) on Aug 17, 2005 at 11:41 UTC |