in reply to Search criteria
You could use a 'preprocess' routine to filter out the unwanted directories. Untested code,
find( { wanted => \&subsearch, preprocess => sub { grep { -f || -d _ && /^AA|BB$/ } @_ } }, $dir );
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Search criteria
by Anonymous Monk on Aug 01, 2003 at 17:07 UTC | |
by Zaxo (Archbishop) on Aug 01, 2003 at 18:40 UTC | |
by Anonymous Monk on Aug 01, 2003 at 21:10 UTC |