Help needed in XML::Parser

ssenthilkumar's Avatar, Join Date: Jul 2010
Newbie Member
Hi All,

I am having a xml file like this

<?xml version='1.0'?>
<person>
<first_name>Joe</first_name>
<last_name>Bloggs</last_name>
<hobbie>bungy jumping</hobbie>
<hobbie>sky diving</hobbie>
<hobbie>knitting</hobbie>
</person>

I am using XML::Parser to Parse this xml, so that the output should be in the form of a ' list '.

Is it possible ???. Can any one provide a small piece of code (a pseudocode will be helpful).

Thanks in advance
S. Senthil kumar.
pradeep's Avatar, Join Date: Apr 2005
Team Leader
Try using XML::Simple
ssenthilkumar's Avatar, Join Date: Jul 2010
Newbie Member
Quote:
Originally Posted by pradeep View Post
Try using XML::Simple
Thanks for ur earliest reply.

I am using XML::Simple