03 Mar 2005 17:55:37 UTC
- Distribution: RCU
- Module version: 0.01
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (214 / 1 / 0)
- KwaliteeBus factor: 1
- 8.89% Coverage
- License: unknown
- Activity24 month
- Download (18.12KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionMLEHMANN Marc A. Lehmann
RCU::Event - Event-based RCU operation
use RCU::Event; $rcu = connect RCU::Event "interfac-spec", [initial-context]
This module provides a superset of the standard
RCUinterface by adding an event-based interface. Basically, you create one or more contexts (See
RCU::Context) and bind it to a RCU::Event object. All key events will then be directed to the current context.
- $ctx = connect RCU::Event "interface-desc";
Create a new RCU interface. The functionality is the same as RCU, with the functions added below.
Act as if key
keywas pressed (
keystarts with "=") or released (when
~). This is rarely used but is useful to "simulate" key presses.
Leave the current context (if any) and enter the
new_context, to which all new events are directed to.
Enter the given
new_contextwithout leaving the current one.
Leave the current context and restore the previous context that was saved in
This perl extension was written by Marc Lehmann <email@example.com>.