in reply to Re^4: Parse one fiile, send the records to two different filesin thread Parse one file, send the records to two different files
You need print $ERR_FH join (',', @fields );