http://www.perlmonks.org?node_id=471159

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

I'm wondering if anybody has any simple code to create an XML file from a perl hash?

I have a system in place that has hundereds of client machines that runs a single self contained perl script which outputs a single data file. I want to convert this datafile to XML, but cannot guarentee that XML::Simple (and all it's dependencies) are installed on the remote systems. To combat this, I need the ability to output an XML document using standard looping.

I'm sure I can figure out the code myself, after lots of debugging and testing, but I wanted to check here first to see if anybody has such code already created. A search on XML just brought up posts about XML::Simple and related modules.

Thanks
-- philip
We put the 'K' in kwality!