Perl: the Markov chain saw | |
PerlMonks |
Re: Perl List files in directoryby bigj (Monk) |
on Apr 22, 2014 at 11:06 UTC ( [id://1083137]=note: print w/replies, xml ) | Need Help?? |
In addition to the others, you might also try not to reinvent the wheel. Whenever you need to search files, the 1st recommandation should be File::Find. In your case
already does what you intend to do in a shorter, easier readable, more maintainable and much less errorprone way.
Greetings,
In Section
Seekers of Perl Wisdom
|
|