IO::Lambda::Loop::Glib - Glib event loop for IO::Lambda
This is the implementation of event loop for IO::Lambda based on Glib event loop. The module is not intended for direct use.
IO::Lambda
Glib
use AnyEvent; use IO::Lambda::Loop::Glib; # explicitly select the event loop module use IO::Lambda;
Synchronous I/O (wait() and friends) can so far only work with either Gtk2 og Gtk3 main loop initialized. Also, after the main loop gets stopped, this module won't work as well.
Under Gtk2 it is not possible to run bare synchronous IO::Lambda I/O, without calling main_loop, while under Gtk3 it works okay.
Big thanks to Martijn van Beers and Apocalypse for POE::Loop::Glib.
AnyEvent
To install IO::Lambda, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::Lambda
CPAN shell
perl -MCPAN -e shell install IO::Lambda
For more information on module installation, please visit the detailed CPAN module installation guide.