annie has asked for the wisdom of the Perl Monks concerning the following question:
I've also tried this, which didn't do much better:my @subdir = File::Find::Rule ->directory ->not_name('*_vti_*','*_templates*','*_themes*','*_ove +rlay*','*_borders*') ->in($webpages);
Now, when I was just trying to filter out one of those directories, the latter worked. But multiple ones don't seem to.my @subdir = File::Find::Rule ->directory ->not_name(qr/\Q_vti_\E/,qr/\Q_templates\E/,qr/\Q_th +emes\E/,qr/\Q_overlay\E/,qr/\Q_borders\E/) ->in($webpages);
update (broquaint): title change (was File::Find::Rule)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Issues with File::Find::Rule 'not_name' rule
by dragonchild (Archbishop) on Aug 19, 2003 at 19:46 UTC | |
by annie (Initiate) on Aug 20, 2003 at 16:06 UTC | |
by annie (Initiate) on Sep 12, 2003 at 14:38 UTC |