I find myself using File::Find more and more now that I've
got the hang of it. Typically you set up like so:
and do_work() is the place where all the real work gets done.use File::Find; find( \&do_stuff, $from_dir );
A couple caveats that I've found (the hard way...) about
what you can do inside do_work():
In reply to Re: File::Find
by larryl
in thread File::Find
by Corion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |