Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks,

Can you pls guide me to select the (best) perl modules which can be used to convert the following,

(1)XML to CSV

(2)XML to MySQL

(3)XML to Excel

Thanks in advance.

Replies are listed 'Best First'.
Re: XML to MySQL and CSV and Excel
by marto (Cardinal) on May 05, 2013 at 16:52 UTC

    You want to read an XML file and output it to various formats. Use one XML library for input, parse the data into a data structure which makes sense, do whatever processing you need. XML::Simple XML::Twig come to mind, depending on your exact requirements, some research is needed on your part. For the rest of your requirements use the data structure you created to output to the required targets using the following modules:

Re: XML to MySQL and CSV and Excel
by Anonymous Monk on May 06, 2013 at 06:53 UTC