in reply to Need help to parse a csv file

So what is your problem? It looks like a quite straight task. You can start with Text::CSV.