in reply to Passing regex to a subroutine
That's what was missing. I had created a chicken and egg situation for myself because I had not expanded it correctly. Thanks for the help. -J
Actually your problem was that you passed the regex to a command (`dir`) that didn't understand it. Doing it all in Perl makes much more sense of course, but if the suffix is significant you'll still have to integrate it into the regex.