M
Michael-John Tavantzis
There is a slowdown associated with reading the contents of a directory that contains large amounts of files. Since I am only interested in sub-directory names is there a way to return the directory names only and skip returning the files? Or quickly determine if there exists a sub-directory at least?
Here is the code i'm starting from... would have liked to be able to put a "-d" in front of readdir.
opendir(my $directory_handle, $directory) || die("Cannot open directory");
my @searchSet= readdir($directory_handle);
Here is the code i'm starting from... would have liked to be able to put a "-d" in front of readdir.
opendir(my $directory_handle, $directory) || die("Cannot open directory");
my @searchSet= readdir($directory_handle);