On 1/29/13 3:22 PM, Jan Dubois wrote:
I have not looked at all at how much work it would be, but I think it
might be worthwhile to see how hard it would be to write an
AnyEvent::Impl::Tkx module. That would allow it to be used with any
module that uses the AnyEvent interface to event loops. I see that
XML::RPC::Fast does have an XML::RPC::UA::AnyEvent adapter, but don't
know if XML::RPC::Fast has the right features for you.
As yet another alternative, this package:
https://sourceforge.net/projects/xmlrpctcl/
works flawlessly when run from Tk directly. It enabled my Tk app to
serve as the XMLRPC server and returned data to a Perl-based client with
no trouble.
Its license is GPL, which prevents it from being used in a proprietary
app, but it's food for thought. I wonder how easy it would be to wrap
the package from Perl and call it via Tkx.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com