in reply to Multiline CSV and XML
I have difficulty understanding what exactly you do in your code. You seem to over-complicate things. There are several modules available for parsing CSV files, no need to reinvent the weel. It would probably reduce your code by 30% or so. I would not worry too much about footprint, you control the opening/closing of files and wether you slurp them or not.
Also for generating the XML files you can use a module. You could for example start by taking a look at XML::Simple which seems enough for what you need to do.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Multiline CSV and XML
by sanju7 (Acolyte) on Sep 29, 2010 at 14:50 UTC | |
by sanju7 (Acolyte) on Sep 30, 2010 at 22:38 UTC | |
by rowdog (Curate) on Oct 01, 2010 at 06:46 UTC | |
by sanju7 (Acolyte) on Oct 01, 2010 at 19:38 UTC | |
by rowdog (Curate) on Oct 02, 2010 at 01:31 UTC |