Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: XML format help

by IraTarball (Monk)
on Aug 22, 2001 at 00:56 UTC ( #106774=note: print w/replies, xml ) Need Help??


in reply to XML format 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,
Ira,

"So... What do all these little arrows mean?"
~unknown

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://106774]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2019-05-24 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (147 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!