We have a client code which is written in perl, and it is trying to connect to a WebService to make an API call.
- This API call is written in java, and it returns a 2-Dimemsion String Array.
- Here is the code on Client side:
eval {
$service = SOAP::Lite->service("some WS link here");
};
if ($exception = $@) {
print("Failed to connect to WS: $exception");
return 0;
}
my $status;
eval {
$status = $service->getStatus();
};
if ($exception = $@) {
print("$exception");
return 0;
}
My question is how to extract the actual data from this "$status" value. When I was to print this "$status" value, I can only see this:
DB> p $status
stringArrayArray=HASH(0x126e2ac0)
DB>