SDL::Tutorial::MoP::Controller::Keyboard
This module takes care of keyboard events.
notify will generate new events depending on the key pressed:
notify
To install SDL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SDL
CPAN shell
perl -MCPAN -e shell install SDL
For more information on module installation, please visit the detailed CPAN module installation guide.