File::Find::Rule is one easy way to do what you want. glob is another and opendir/readdir is yet another.
I also suggest perlintro (if you're new to perl)
In reply to Re: how to get total numbers of files in a directory?
by PodMaster
in thread how to get total numbers of files in a directory?
by hweefarn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |