in reply to Searching file extensions
This will recursively search for all files ending in html, htm, pl and cfm in all the directories in @ARGV and then assigning the the resulting list of filenames to @files. See. the ever-handy File::Find::Rule for more info.use File::Find::Rule; my @files = find( file => name => [ qw/ *.html *.htm *.pl *.cfm / ], in => @ARGV );
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Searching file extensions
by Anonymous Monk on Jun 19, 2003 at 12:01 UTC | |
by broquaint (Abbot) on Jun 19, 2003 at 12:05 UTC |