in reply to Re: Changing the output filehandle while iterating input files.in thread Changing the output filehandle while iterating input files.