more useful options | |
PerlMonks |
Re^2: Limiting a globby salva (Canon) |
on Mar 09, 2009 at 17:48 UTC ( [id://749365]=note: print w/replies, xml ) | Need Help?? |
... and use a regular expression to select the files you are interested in.
You can use Text::Glob to transform a file name containing wildcards into a regular expression. Here you will find another function (_glob_to_regex) implementing a glob to regex transformation.
In Section
Seekers of Perl Wisdom
|
|