in reply to Re^2: Parsing many files and output to one file. Pls HELP
in thread Parsing many files and output to one file. Pls HELP

Instead of naming them $myArray1, $myArray2 store them all in a common array. How that works is described in perllol and perlreftut, as well as in every good Perl book.