in reply to Timing user input

Probably Term::ReadKey does what you want.


Perl is environmentally friendly - it saves trees