good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: XML format helpby IraTarball (Monk) |
on Aug 22, 2001 at 00:56 UTC ( [id://106774]=note: print w/replies, xml ) | Need Help?? |
You should read up on the options for XML::Simple
I think what's tripping you you up is the keyattr option. This defaults to name but you probably want it set to the empty string. You might also check out Data::Dumper to view the data structures that XML::Simple creates. I've been using XML::Simple for reading in and writing out config files without any unwanted changes to the xml file so I'm pretty sure it will do what you want.
Hope this helps,
"So... What do all these little arrows mean?"
In Section
Seekers of Perl Wisdom
|
|