Excel::Writer::XLSX::Package::XMLwriterSimple3pm
Light weight re-implementation of xml::writer. this module is used internally by excel::writer::xlsx.
Overview
This module is used by Excel::Writer::XLSX for writing XML documents. It is a light weight re-implementation of XML::Writer.
XMLwriterSimple is approximately twice as fast as XML::Writer. This speed is achieved at the expense of error and correctness checking. In addition not all of the XML::Writer methods are implemented. As such, XMLwriterSimple is not recommended for use outside of Excel::Writer::XLSX.
If required XMLwriterSimple can be overridden and XML::Writer can be used in its place by setting an "_EXCEL_WRITER_XLSX_USE_XML_WRITER" environmental variable:
export _EXCEL_WRITER_XLSX_USE_XML_WRITER=1perl example.plOr for one off programs:_EXCEL_WRITER_XLSX_USE_XML_WRITER=1 perl example.pl
This technique is used for verifying the test suite with both XMLwriterSimple and XML::Writer:
_EXCEL_WRITER_XLSX_USE_XML_WRITER=1 prove -l -r t
Disclaimer of warranty
See the documentation for Excel::Writer::XLSX.