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