opendir(DIR,$dir) or die $!; my @files = map{$dir.'/'.$_}grep{$_ =~ /\.$extension$/}readdir(DIR); closedir DIR;
my @files = glob($dir.'/*.'.$extension);
In reply to Re: Zipping the files
by reneeb
in thread Zipping the files
by nesanhere
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |