SOAP-Lite - Re: How to convert ArrayOfstring in SOAP into an array of PERL?

Posted on Wed Aug 1 05:02:21 2007 by saramic in response to 5807 (See the whole thread of 2)
Re: How to convert ArrayOfstring in SOAP into an array of PERL?
the result is a reference to an array. Assuming that it really is just an array of strings then you can print
print join ',', $arrayRef;
if that does not work or you are not sure what is in there, I suggest using Data::Dumper to print out the whole data structure.
use Data::Dumper; print Dumper $arrayRef;
this assumes that this is only an array ref. If you do not extract the array from the SOAP object you may get the whole SOAP object out which will end with something along the lines of
$VAR1 = bless( { . . . '_request' => bless( { '_method' => 'POST', '_headers' => bless( { . . . }, 'SOAP::SOM' );
which will have a whole heap more information. cheers Michael
Write a response