in reply to XML::Simple Output
Check out the noattr option to XMLout:
% perl -w use XML::Simple; $xml = XMLin("pre.xml"); $xml->{core}->{test} = 'testeroo'; print XMLout($xml, noattr => 1); ^D <opt> <core> <test>testeroo</test> <variable>ere</variable> </core> </opt> <
Update: You may also be interested in the rootname => 'config' option.
Networking -- only one letter away from not working
|
---|
In Section
Seekers of Perl Wisdom