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


in reply to Re^3: Perl replacement for choice.com
in thread Perl replacement for choice.com

I realized I never made it clear as to why I was doing this. It appears that on Windows 7 32 and 64 bit, you can run into scenarios where choice will never timeout even though it is supposed to.

The problem shows up when the window gets and loses focus when the prompt is showing on screen. Unfortunately, we run into it somewhat often due to scripts we use. Since we jump back and forth between windows it is possible to encounter this problem multiple times in a script run. I ran into once today and it has been encountered by other members of my team.