[ic] split or \$myvar is not parsing or interpolte in a right way

Peter peter at pajamian.dhs.org
Sun Dec 7 00:22:04 UTC 2008

On 12/06/2008 09:10 AM, jojospace wrote:
> And why ist
> sub array_string  {
>   my ($name, @data) = @_;
>   my $soap_data = SOAP::Data->value(SOAP::Data->name("string" =>
> @data)->type(""));
>   $soap_data->type('ArrayOfString');
>   return SOAP::Data->name($name, \$soap_data);
> }
> not working like a normal perl script? \$soap_data make me mad!

First you're not giving anyone enough info to go on here.  What is this
sub supposed to do?  What error messages does it produce (check the logs)?

Secondly, I'm not a SOAP expert by any stretch.

Third, you are trying to pass an array on the right side of a =>
construct, which is designed to accept a scalar, it probably won't do
whatever you think it will do (which I still don't quite understand).

It boils down to ... it just doesn't look right to me and I don't know
what you are trying to do so I can't tell you how to fix it properly.


More information about the interchange-users mailing list