in reply to Help with Dumping data. Manipulate hashes output.

Is there a reason that instead of

my $data= (Dumper $res->valueof('//listPhoneByNameResponse/return/phon +e'));
you cannot just use the data structure directly?
my $data= [ $res->valueof('//listPhoneByNameResponse/return/phone') ];
Why do the round trip through Data::Dumper and eval?

Update: made results into arrayref, as it appears that is the intent of the original code.

--MidLifeXis