|Problems? Is your data what you think it is?|
Re^3: Combining multiple lines based on the given conditionby 2teez (Priest)
|on Oct 19, 2013 at 02:38 UTC||Need Help??|
One thing is certain as mentioned by other perlmonks before now that one need know how the OP input file is formatted.
Secondly, since your input is a CSV file, it is better you use module like Text::CSV or Text::CSV_XS.
See an example below with a modified OP dataset.
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me