http://qs321.pair.com?node_id=321300


in reply to Converting a data structure to XML

You are in a monastery. Some monks are meditating quietly in the afternoon sun, while others are going about their daily tasks. One smiling brother stops his sweeping and asks you, "Can I help you?"
> Ask about dumping data structures into XML
The monk leads you into the library. This large building holds more books than you've seen before in your life. Thousands of researchers, monks and petitioners are reading quietly in the many sections of the library.
He leads you to a section of the library, seemingly at random, and pauses for a moment. "What was it you were looking for again?"
> Ask about dumping data structures into XML
The monk says "Not so loud!"
> Whisper about dumping data structures into XML
The monk smiles and pulls a book of the shelf and hands it to you. The book is titled XML::Dumper.
> _

Replies are listed 'Best First'.
Re: Re: Converting a data structure to XML
by Tanalis (Curate) on Jan 14, 2004 at 16:57 UTC
    XML::Dumper is all well and good if I needed a fairly standard XML output that I can read back in (it outputs structures in a slurpable fashion, the way I understand it's POD).

    I need the XML output in a specific fashion, so I'm not sure how much use it would be.

    Thanks for the story, though.

      You shelve the book and walk out of the library, and back into the monastery grounds.
      > save and quit
      Saved.
      You had 183 items in your pack. You died 0 times.
      Your Score : 3027
      Your Rank : Saint