#!/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" } }
In reply to File Find question by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |