![]() |
|
more useful options | |
PerlMonks |
Re: Problems with -d filetest on readdir resultsby cjf (Parson) |
on May 23, 2002 at 19:07 UTC ( #168880=note: print w/replies, xml ) | Need Help?? |
You need to provide -d with the $path ...
Update: Changed $path to "$path/$_" so it prints out only the directories (as opposed to all the files). Thanks to ChemBoy for spotting this and providing the fix.
In Section
Seekers of Perl Wisdom
|
|