Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: how to get the all the subdirectories path from the directoryby mickeyn (Priest) |
on Mar 09, 2006 at 08:35 UTC ( [id://535346]=note: print w/replies, xml ) | Need Help?? |
I agree with Gube about using File::Find. But you don't need to bother writing the code, just use find2perl: find2perl . -type d will generate the code for you:
Enjoy,
In Section
Seekers of Perl Wisdom
|
|