[Xml-compile] XML::Compile::RPC suitable for use with MailChimp
API?
Mark Overmeer
mark at overmeer.net
Thu May 26 15:35:00 GMT 2011
* Mark Blackman (m.blackman at fairfx.com) [110526 12:58]:
> On 26 May 2011, at 09:54, Mark Overmeer wrote:
>
> > Best way to go is providing a wrapper module, as shown in
> > XML::eXistDB::RPC. You can use that module to add more abstraction
> > between the raw XMLRPC and, for instance, nice Perl objects.
>
> I had a feeling you would suggest that, although it might
> be worth adding a recursive version of struct_to_hash to
> XML::Compile::RPC::Util as that would be the main thing I would
> need to put in the wrapper.
That would only work for nested hashes with homogeneous types. Most
RPC interfaces are much simpler.
Probably you can write you specific need with just a few lines,
and reuse that function in your module.
--
Regards,
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark at Overmeer.net solutions at overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net
More information about the Xml-compile
mailing list