Processing XML with Perl | Michel Rodriguez |
DBIx::XML_RDB (cont'd) | XML::Dumper (cont'd) |
XML::Dumper
Description
XML::Dumper dumps Perl data to a structured XML format. XML::Dumper can also read XML data that was previously dumped by the module and convert it back to Perl. The module provides 2 methods: XML::Dumper::pl2xml and XML::Dumper::xml2pl.
Why use XML::Dumper?
- if you want to use XML tools on the dumped data
- if you just want to be buzzword compliant
Why NOT use XML::Dumper?
- in most other cases
Similar Module
Data::DumpXML performs the same functions. Its model is more complex than XML::Dumper so its dumps are more accurate (objects are labelled as such for example) but they might be a little more complex to process.
DBIx::XML_RDB (cont'd) | XML::Dumper (cont'd) |