Hi,
I am facing a scenario like this,
I have a XML file, i need to parse it using XML::Simple module (using perl). The output is in Hashes (i use dumper).
I need to convert the output (which is in hash ) to a list or an array. Help me please.
XML:
<employee>
<name>John Doe</name>
<age>43</age>
<sex>M</sex>
<department>Operations</department>
</employee>
and its output with XML::Simple,
$VAR1 = {
'department' => 'Operations',
'name' => 'John Doe',
'sex' => 'M',
'age' => '43'
};