Mouse functionality sample
./mouse.pl
This file just shows a rudimentary method to handle the mouse. It is not guaranteed to even work. I do not recommend using the mouse.
If you really want mouse functionality, then you likely are using the wrong module. Try SDL or other X-Windows based library instead.
To install Graphics::Framebuffer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Graphics::Framebuffer
CPAN shell
perl -MCPAN -e shell install Graphics::Framebuffer
For more information on module installation, please visit the detailed CPAN module installation guide.