Spreadsheet-WriteExcelXML
view release on metacpan or search on metacpan
lib/Spreadsheet/WriteExcelXML/XMLwriter.pm view on Meta::CPAN
=head2 set_indentation()
The C<set_indentation()> method is used to define the style of indentation used in the output from C<Spreadsheet::WriteExcelXML::XMLwriter>. This is the only C<public> method of the module.
The default indentation style is four spaces. Calling C<set_indentation()> with C<undef> or no argument will set the indentation style back to the default.
A special case argument is the null string C<''>. In addition to not adding any indentation this also overrides any newline settings so that the output is as compact as possible and in the form of a single line. This is useful for saving space or whe...
The following example shows some of the options:
#!/usr/bin/perl -w
use strict;
use Spreadsheet::WriteExcelXML::XMLwriter;
my $writer = Spreadsheet::WriteExcelXML::XMLwriter->new(*STDOUT);
( run in 0.364 second using v1.01-cache-2.11-cpan-4d50c553e7e )