in reply to ReadKey only read once?

You could add a timeout before the subroutine can be run again. However, don't know of a way to modify the basic functionality of a keyboard like this. If it was JavaScript, I would say look for onKeyPress.

This is of course one reason to use <STDIN> and wait for a return before processing the input

Replies are listed 'Best First'.
Re^2: ReadKey only read once?
by austin43 (Acolyte) on Mar 31, 2011 at 18:20 UTC
    Thanks for the speedy reply. Sitting here thinking about it I figured it out! The subroutines only need to be run once, and a text file tells the program if that individual subroutine has run before. So if I make it so a variable changes if it has run before, then no reason to let it run again.