On Mon, Jan 28, 2013 at 6:35 PM, Kevin Walzer <k...@codebykevin.com> wrote: > On 1/23/13 12:29 PM, Jeff Hobbs wrote: >> >> If there was a way to do this in Tcl, you could do it through Tkx. >> For some of our Perl programs we leveraged the Tcl-based event loop >> for other file operations. The interface between Tcl and Perl is very >> tight, allowing you to call into each from the other. > > > I'm considering rolling my own XML-RPC server on top of the Tkx event loop, > setting up a listener via the fileevent API. None of the existing > implementations support such a thing.
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. Cheers, -Jan