Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: specifying file extension in opendir functionby inman (Curate) |
on Nov 16, 2006 at 14:19 UTC ( [id://584467]=note: print w/replies, xml ) | Need Help?? |
Try the following use of a while loop if it fits in with your application logic. It is a neat short cut that may work for your app. The <pattern> construct uses the glob function internally. Details on the patterns that you can use in File::Glob
The while loop gets to process the files that match the pattern.
In Section
Seekers of Perl Wisdom
|
|