habit_forming has asked for the wisdom of the Perl Monks concerning the following question:

Hey you Monks!

I am using SOAP::Lite and I have found that methods called from remotely dispatched modules do not respect the wantarray context of the caller. It seems as though, somewhere in SOAP::Lite's guts it calls every function in a list context instead of preserving the context of the call.

Has anyone else had this happen?

Any SOAP::Lite experts out there that can lend me a hand?

Thanks,
habit

Replies are listed 'Best First'.
Re: SOAP::Lite and wantarray
by Anonymous Monk on Feb 01, 2004 at 04:40 UTC
    What part of the SOAP rfc describes wantarray context?
Re: SOAP::Lite and wantarray
by davido (Cardinal) on Feb 02, 2004 at 03:41 UTC
    Could you provide an example and mention which methods in particular you're having trouble with? I looked into the source of the SOAP::Lite module and didn't find anything terribly devilish, but might have missed something.

    Without knowing specifically what to look for and where to look, it's like trying to find a needle in a haystack. Boil the issue down to a minimal code example and we can have a look at something concrete.


    Dave