Angle brackets, in addition to being shorthand for readline, also can be used to perform globbing (wildcard expansion). So, <*Cmd.pm> will return a list of all the filenames of the format you describe. Ultimately you'll have to "run through" a list/array at some point, but that allows you to get the list dynamically instead of hardcoding it (provided that every file in the directory that matches the wildcard is a file you want to look in).
In reply to Re: Iterating through Hashes in Files
by ssandv
in thread Iterating through Hashes in Files
by jedikaiti
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |