in reply to Parsing log file with blank lines for the field separator

You don't need hashes or arrays.
  1. read a record
  2. determine which output file the record belongs in (if at all)
  3. write the record to the appropriate output file (if appropriate)
  • Comment on Re: Parsing log file with blank lines for the field separator