In reply to Re^2: Changing the output filehandle while iterating input files. by ysth in thread Changing the output filehandle while iterating input files. by reedx032