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

BooK has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to have my program wait for user input.
<> is not good enough for me, since I don't want the user to press Enter.

select seems a very good choice: with a well chosen timeout, I can even spare a few cycles for all the other processes... ;-)

Alas, I don't know how to use it properly. Can anybody help me? (and explain how all of this works?)

PS: No, I don't want to use a module for this: only stuff in perlfunc...