Hi All,
I have a xml file like this
<testcase>
<sf_params>
<dir>1</dir>
<sfid>2</sfid>
</sf_params>
</testcase>
I used xml::simple (perl parsing) and got the o/p as
$VAR1 = {
'sf_params' => [
{
'sfid' => [
'2'
],
'dir' => [
'1'
]
}
]
};
How can i access or assign value of dir
to a variable e.g. $dir = $var1->{sf_params}->{dir}