in reply to Re^2: Hash Table genaration using perl
in thread Hash Table genaration using perl

Take a look at XML::Simple for reading in the XML. It'll work better than greedy regexes.


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Replies are listed 'Best First'.
Re^4: Hash Table genaration using perl
by veerubiji (Sexton) on Oct 01, 2011 at 08:29 UTC

    give any idea regarding store data into string and hash table creation . it helps alot for me.

Re^4: Hash Table genaration using perl
by veerubiji (Sexton) on Oct 03, 2011 at 13:50 UTC

    Hi, i tried with xml::simple i posted my code above but I want my ouput like test number and their description below. like

    testnumber 0437 <description> testnumber 0438 <description>.....
    description is in xml format