in reply to Re^2: hash helpin thread hash help
Remove or $1 ne 'rf1' from the test in the second while loop. If that doesn't do what you want then show us an example of the output you do want (assuming the original input data).