Reputation: 767
We have a client code which is written in perl, and it is trying to connect to a WebService to make an API call.
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>
Upvotes: 0
Views: 55