NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
re: wildcards (Score:1)
Sorry, I think you've taken my ramblings a bit too literally. I was talking of nailing down the meaning of /^-/ are commands" rule then that translates to the Perl
-name -red. If I apply a simple "things matching->name()->red(), so how would I get to->name( '-red' ), which is what I really wanted.Perhaps you could then specifically check for the wildcard character when reading the arguments and options, and deal with it appropriately.
File::Find::Rule->name quite happily copes with globbing patterns by delegating to Text::Glob, so we already have that one licked.
Reply to This