And if you happen to be working in a Windows environment, You can always use Win32::OLE and here's a primer. As far as XML goes, XML::LibXML, XML::Simple are but two of a flock of good choices, though without seeing an example of your data, it's difficult to make a suggestion.