Except that File::Find recurses into subdirectories and the OP didn't indicate that recursion was needed.
Also, there's more conceptual baggage with File::Find. If I'm going to gather the files into an array, how do I do that? How do I not recurse if that's appropriate? Et cetera. It's alot more for someone to have to figure out over a simple glob or readdir
In reply to Re^3: How to create the varibles with the file names
by duff
in thread How to create the varibles with the file names
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |