in reply to XML::Twig output with delimiter

To answer your question, try print join " ", map { $_->text } $para->children.

That said, why call para the record elements?

Replies are listed 'Best First'.
Re^2: XML::Twig output with delimiter
by Anonymous Monk on Dec 09, 2008 at 11:37 UTC
    probably copy/paste from convenientstore's question
Re^2: XML::Twig output with delimiter
by pankaj_it09 (Scribe) on Dec 09, 2008 at 13:07 UTC
    If the XML file is large then memory problem might occur.
    So I want the loop in which the data will be extracted.

    Also I want only data present in specific tags.

      Read the docs about twig_handlers or twig_roots to see how to deal with large files. If you want the data from specific tags, then read the docs for field.

      To read the doc, perldoc XML::Twig or man XML::Twig or look at XML::Twig, or online doc.