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...