in reply to Re: Need an hash of the Parsed Document !
in thread Need an hash of the Parsed Document !

Thank You for your attempt to help 'poj'. But, I don't want to print them. Instead I want to store and return them as a hash - which needs to be used by another function (sub) for doing the validation.

  • Comment on Re^2: Need an hash of the Parsed Document !

Replies are listed 'Best First'.
Re^3: Need an hash of the Parsed Document !
by poj (Abbot) on Dec 17, 2015 at 17:18 UTC

    Your hash is %$hr - see simplify method in XML::Twig

    Simplify - Return a data structure suspiciously similar to XML::Simple's. Options are identical to XMLin options, see XML::Simple doc for more details (or use DATA::dumper or YAML to dump the data structure)

    poj