use Curses::UI::POE; my $cui = new Curses::UI::POE; $cui->mainloop
This is a subclass for Curses::UI that enables it to work with POE. It is designed to simply slide over Curses::UI. Keeping the API the same and simply forcing Curses::UI to do all of its event handling via POE, instead of internal to itself. This allows you to use POE behind the scenes for things like networking clients, without Curses::UI breaking your programs' functionality.
The undocumented Curses::UI timers ($cui->timer) will still work, and they will be translated into POE delays. I would suggest not using them, however, as POE's internal alarms and delays are far more robust.
Currently dialog's work but break POE, and cause Curses::UI to constantly poll. Hopefully this will be fixed very soon.
Find any? Send them to me! email@example.com
- Original Author
Rocco Caputo (firstname.lastname@example.org)
- Concept, Many Fixes, Current Maintainer
Scott McCoy (email@example.com)