GrandFather has asked for the wisdom of the Perl Monks concerning the following question:
Is there an equivelent to File::Find that finds directories as well as files? I have a task where I need to copy a directory sub-tree and modify some of the copied files.
At present I'm working with Filesys::Tree and walking the tree to get the job done. A File::Find type callback would clean up the code a lot.
Note: the complication is that some of the leaf dirs may be empty, but they still need to be created.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is there a Dir/File::Find
by merlyn (Sage) on Jul 29, 2005 at 03:18 UTC | |
by GrandFather (Saint) on Jul 29, 2005 at 03:31 UTC | |
by merlyn (Sage) on Jul 29, 2005 at 03:35 UTC | |
by GrandFather (Saint) on Jul 29, 2005 at 03:38 UTC |