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
, and Term::Screen
for working with the keyboard, as well as Tk
, 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.