Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/local/bin/perl use strict; use File::Find; my $dirs = '/web/directory'; find(\&search, $dirs); sub search { if (-d =~ 'AA' or 'BB' or 'CC') { print "$File::Find::name\n" } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File Find question
by Aristotle (Chancellor) on Nov 06, 2002 at 20:04 UTC | |
by Anonymous Monk on Nov 06, 2002 at 20:14 UTC | |
by Aristotle (Chancellor) on Nov 06, 2002 at 20:22 UTC | |
by Anonymous Monk on Nov 06, 2002 at 20:38 UTC | |
by Aristotle (Chancellor) on Nov 06, 2002 at 20:41 UTC | |
|
Re: File Find question
by mirod (Canon) on Nov 06, 2002 at 20:44 UTC |