Re: XMLRPC::Lite Change Member Type
- On 21 Nov 2005 16:52:06 -0000, you wrote:
>I want to change the type of a member passed by XMLRPC::Lite.If I understand the docs correctly, you use the same method you would in
>The member is supposed to hold a mobile phone number which i want to
>pass as a string but which is currently being passed as an integer.
>How can i do that?
SOAP::Lite. Assuming for the sake of argument the number is stored in
$mobile, just use
XMLRPC::Data->type(string => $mobile)
anywhere you would use $mobile when constructing messages.