in reply to Re: Empty directory
in thread Empty directory

If you want to check for files only you may do:
opendir (DIR, $dir) or die "cannot opendir $dir"; my @only_files = grep {-f "$dir/$_"} readdir(DIR); closedir (DIR);
marcos