http://www.perlmonks.org?node_id=994394


in reply to Horizontal Split

PerlFAQ 8 suggests the following answers to the question, "How do I do fancy stuff with the keyboard/screen/mouse?", depending on the system you are on:

(It also suggests Term::ReadKey, Term::ReadLine::Gnu, Term::ReadLine::Perl, and Term::Screen for working with the keyboard, as well as Tk, Wx, Gtk2, and Qt4 bindings for working with mice.)

If you are working in a GUI, then you may consider one of the bindings listed above, or perhaps one of the Win32::* modules (such as Win32::Console).

Hope that helps.