in reply to Getting input from keyboard

How 'bout my $input=<STDIN>? Or isn't it that you're interested in this faq:
perldoc -q 'single character'