examples/keys.pl - A key dump example
Tests the correct implementation of keyboard event subsystem. The following features are tested:
- Direct flow of keyboard event - Correspondence of a syntetic key name to the real name - key_event() functionality - Key event propagation. Not that if it is disabled ( a clear_event() is called ) no system-bound event ( like menus etc. ) are expected to be initiated. - Diaglyphs type ( f.ex. dieresis + 'e' ) - Alternative keyboard layout ( a Euro sign )
To install Prima, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Prima
CPAN shell
perl -MCPAN -e shell install Prima
For more information on module installation, please visit the detailed CPAN module installation guide.