Syntactic Confectionery Delight | |
PerlMonks |
Re^2: XML::Twig problemby BenHopkins (Sexton) |
on May 31, 2007 at 22:12 UTC ( [id://618594]=note: print w/replies, xml ) | Need Help?? |
It works. Thanks. But (you knew there would be a but, didn't you?), in the output, there was some trailing text after the final tag, which went away when I took out the flush() call.
Also, when I tried to verify the soundness of the outputted XML with xml_pp (mine, not yours), it got this error:Undefined subroutine &Text::Wrap::wrap called at /usr/local/perl/5.8.2/lib/site_perl/5.8.2/XML/Twig.pm line 7476. When I replaced indented_c with nice, it worked.
In Section
Seekers of Perl Wisdom
|
|