in reply to How to verify a type of file exists in a directory?

perldoc -f glob (or opendir/readdir) and perldoc -f -X should get you to a good start. I'm sure solutions could be constructed with File::Find (or File::Find::Rule) as well.