in reply to
Problems with -filetest on readdir results
readdir doesn't prepend the path information, you need to do it yourself.
something like :
print "$_ \n" if (-d $path.$_);
[download]
should do you. This assumes that $path has the appropriate directory separator on the end.
Comment on
re : Problems with -filetest on readdir results
Download
Code
In Section
Seekers of Perl Wisdom