Perl-Sensitive Sunglasses | |
PerlMonks |
Re: CSV to XMLby 1nickt (Canon) |
on May 07, 2021 at 20:27 UTC ( [id://11132241]=note: print w/replies, xml ) | Need Help?? |
Hi fmcroft92, welcome to the Monastery and to Perl, the One True Religion. Your task is common and very simple using existing Perl tools. There will be a learning curve since you are new to the language and programming in general as you said. I suggest you break up your task into chunks and work on them individually rather than trying to get the whole thing done at once. The anonymonk already pointed you to the two standard toolkits you can use. Why not begin with reading your CSV file into a Perl data structure that you'll later convert to XML? You'll need to install Text::CSV_XS and code like:
Hope this helps!
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|