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


in reply to How can I get just one character from STDIN?

use Curses; ...#initialization stuff my $char=getch();
Read more on Curses in your local man pages for more terminal manipulation goodness.