"be consistent" | |
PerlMonks |
Re: create array of empty files and then match filenamesby mr_mischief (Monsignor) |
on Jan 07, 2016 at 17:04 UTC ( [id://1152216]=note: print w/replies, xml ) | Need Help?? |
I don't see in your original where you're interacting with the file system to find these files and put them into the array. The usual advice at this point is to use File::Find or File::Find::Rule. However it's not that hard for a simple case as other monks have shown. Keep the modules in mind for when you need to find things across nested subdirectories and such though.
In Section
Seekers of Perl Wisdom
|
|