Think about Loose Coupling | |
PerlMonks |
Re: Outputting a hash as XMLby mirod (Canon) |
on Mar 15, 2005 at 10:38 UTC ( [id://439578]=note: print w/replies, xml ) | Need Help?? |
First, there is probably a way to get XML::Simple to output what you want, but anyway, here is the easiest way I found with XML::Twig: the first new creates the root element, then the map creates its children, each created by the second new.
In Section
Seekers of Perl Wisdom
|
|