Subject: | Printing an XML::Twig::Elt with indentation no longer works |
Date: | Sat, 18 Jun 2016 17:30:26 +0300 |
To: | bug-XML-Twig [...] rt.cpan.org |
From: | Andreas Gustafsson <gson [...] gson.org> |
The following test program:
#!/usr/bin/perl
use XML::Twig;
my $elt = XML::Twig::Elt->new('p');
$elt->print('indented');
produces no output in XML::Twig version 3.36 and newer. I would
expect it to produce output containing a "p" element, as it did in
version 3.35 and earlier.
It also works if you remove the 'indented'.
This is with Perl v5.24.0, XML::Twig 3.49, and NetBSD 7.0 on amd64.
--
Andreas Gustafsson, gson@gson.org