my $get_phone=""; if (ref($xml_data->{'mainA'}->{'mainB'}->{'mainC'}) eq 'ARRAY') { $get_phone = $xml_data->{'mainA'}->{'mainB'}->{'mainC'}->[0]; } else { $get_phone = $xml_data->{'mainA'}->{'mainB'}->{'mainC'}; } $got_phone = $get_phone->{'mainD'}->{'mainE'}->{'mainF'}->{'mainG' +}; print "<br>**$got_phone**<br>"; # I am getting this Result: **HASH(0xa8f8064)**
In reply to XML::Parser Help! by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |