@list #contains list filenames foreach @list open(HANDLE, @list[$index]); @data = ; #etc.... $index++; end for