Posted on 2008-11-12 09:16:52-08 by charlie in response to 9271
Re: arrays of strings
you can override the automatic type recognition by passing a coderef instead of a scalar value e.g. instead of
$xmlrpc->call("myrpc", ['12345', '123456']);
try
$xmlrpc->call("myrpc", [ sub { return{ "string" => '12345' } }, sub { return{ "string" => '123456' } }, ]);
good luck.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.