The problem with glob is that it returns the path for every file when you do something like glob ("path/to/somewhere"). You will have to strip that path if you want just the filename. That's why I used opendir here.
holli, /regexed monk/
Comment on Re^2: How to find matching file names and build and @AOA using File::Find