That will iterate over the filenames of all the files in 'your_dir_here' and its subdirectores with the .txt extension. See. the File::Find::Rule docs for more information on this most marvellous of modules.use File::Find::Rule; for(find(file => name => "*.txt", in => "your_dir_here")) { ## do stuff here }
_________
broquaint
In reply to Re: file lookup
by broquaint
in thread file lookup
by sjd6
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |