Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: How to Parse XML output?by powermonk (Initiate) |
on Mar 13, 2013 at 16:59 UTC ( [id://1023257]=note: print w/replies, xml ) | Need Help?? |
I tired it, but its not working. Below is what I am doing.
my $xml_string= $result->result; //Store return value of webservices function.
my $tkt= $_->{AttrValue} for grep { $_->{AttrName} eq 'ref_num' } @{$xmls->{Attributes}->{Attribute}};
print $tkt
Not able to capture value.
In Section
Seekers of Perl Wisdom
|
|