You can do this with glob: my @files = glob '*.{html,htm,pl,cfm}';
After Compline,Zaxo
In reply to Re: Searching file extensions by Zaxo in thread Searching file extensions by Anonymous Monk