in reply to Re^2: Passing regex to a subroutine
in thread Passing regex to a subroutine
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.
|
---|
In Section
Seekers of Perl Wisdom