Think about Loose Coupling | |
PerlMonks |
Re: How to read files in all subfolders?by davido (Cardinal) |
on Oct 21, 2012 at 06:51 UTC ( [id://1000176]=note: print w/replies, xml ) | Need Help?? |
If you have the suspicion that recursing through directory structures to work on files within them is something that has been done before with Perl, you would be right. It's been done often enough that with every complete distribution of Perl, there's a module included with the name of File::Find. This is where you might want to start; File::Find solves the hardest part of the problem you're facing. Dave
In Section
Seekers of Perl Wisdom
|
|