Skip to content
dmcbride edited this page Mar 14, 2012 · 2 revisions

There are two purposes to this distribution.

  1. To provide some concrete, working examples of using the new Term::ReadLine event_loop method to hook into various looping structures.
  2. To provide (fewer) helper code in module form to do the hook-up.

Some examples basically create a whole event loop themselves. Others rely on external event loops with proper, generic callback support. Only the latter group will likely allow for helper code that can just be dropped in as a couple of lines of code. The purpose here is not to emulate a full event loop as that is a horse that has been beaten many times already by many people much more proficient than I.

Clone this wiki locally