(I had some conversation in c.l.p.m about this originally but it's no
longer a Perl coding problem so I'm moving it here.)
Using XML::Twig I'm reading in an XML file, adding an element to it
and writing the result out again. The file is correctly written, but
the return code from the "print" method denotes failure. The Twig
doentation doesn't indicate that behaviour; can someone help me
debug this further?
--------- code to show the error ----------
# Get the XML file
my $fdtwig = new XML::Twig;
my $fd = $fdtwig->root;
# Create ...