12345
$dir = 'datas';opendir DIR, $dir or die "Can't open $dir: $!";my @files = grep ! /\.html$|\.csv$/, readdir DIR; closedir DIR;