There's more than one way to do things | |
PerlMonks |
Re: Searching a file systemby sflitman (Hermit) |
on Dec 22, 2010 at 05:28 UTC ( [id://878436]=note: print w/replies, xml ) | Need Help?? |
The best thing about Perl is you don't have to Reinvent the Wheel, which I'm afraid is what you are doing there. Why not use File::Find? It's much more concise and you don't have to deal with all the same bugs. Your code is probably not portable since it is going to rely on Windows paths with backslashes.
SSF
In Section
Seekers of Perl Wisdom
|
|