At 11:00 AM 3/4/04 -0600, you wrote:
I'd like to use a while construct to loop until a key, any key, is pressed.
I'm aware of the <STDIN> source for input, but with what function do I check
for key presses regardless of <Enter>?

forgot to add : ReadMode 'cbreak'; before, and ReadMode 'normal'; after.

should read:

ReadMode 'cbreak';
$key = ReadKey(0);
ReadMode 'normal';

my booboo...

Reply via email to