mhamilton3
Programmer
- Oct 31, 2001
- 129
I am having a problem gathing the data from an XML stream. The code is as follows:
using
I get the following HASH
I can not get the result of either wellmed.response or errors. Here is what I tried - could someone please point out where I went wrong?
Thanks.
Code:
my $XMLref = $xs->XMLin($result, suppressempty => '');
Code:
use Data::Dumper;
print Dumper($XMLref);
Code:
$VAR = { 'wellmed' => { 'wellmedack' => {}, 'wellmed.ack' => { 'errors' => '0', 'wellmed.response' => 'User data updated for ID: aac20fd41e07ea11d9bfc1ac192a16aa77', 'responses' => '1' } } };
I can not get the result of either wellmed.response or errors. Here is what I tried - could someone please point out where I went wrong?
Code:
print $XMLref->{wellmed}->{wellmed.ack}->{errors}
Thanks.