Is there a Perl module that supports the "**" notation
in globbing where '**' matches zero or more levels of
directories?
Example:
src/**/*.pl would match any files or directories ending
in the ".pl" suffix anywhere under the "src"
directory
As illustration, the above pattern would match the following:
src/app1/bobble.pl
src/app1/foo.pl
src/app1/testing/t1.pl
src/app1/testing/t2.pl
src/app2/any/number/of/subdirs/myFoo.pl
src/test.pl
Ideally, what I'm looking for is a Perl module that provides
the funtionality that can be seen in Ant's Fileset data type.
http://jakarta.apache.org/ant/manual/CoreTypes/fileset.html
The Fileset data type is way richer that just the "**" notation
as it not only lets a user specify patterns to include but
also exclude from the set (with optional conditionals for both).
But as a minimum, I'd like to find a module that supports the
"**" notation. (Yes, I could write such a module, but I'm trying
to not reinvent the wheel here if possible.)
--
Mike Arms
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs