opendir RDIR, $path; my @DIRLIST = grep { ( /search pattern/ ) && !/\.gz$/ } readdir RDIR; [download]
In reply to Re: Opendir and regex by gman in thread Opendir and regex by homer