POE supports nearly any event loop imaginable through POE::Loop plugin modules. POE::Loop::Tk is the plugin support for the Tk graphical toolkit's event loop. See http://search.cpan.org/search?query=POE%3A%3ALoop&mode=module for a list of other event loops POE supports. POE::Loop documents the generic API for all POE::Loop subclasses. You are invited to implement this API for your favorite event loop. Kudos, bug reports, and patches are also welcome. Thank you!
rcaputo/poe-loop-tk
POE::Loop::Tk implements an adapter between POE’s portable API and the one specific to the Tk graphical toolkit. Programs written for POE may use POE::Loop::Tk to interoperate with code written for Tk.
Perl