Non-blocking keyboard?

2011-10-07 Thread Barry Brevik
I'm writing a program where a process runs in a loop. I want to process keyboard input without disturbing the main process in the loop. I'm trying to use the Win32::Console module for this task (see code below), but the module blocks on the Input statement. Is there some way to make this

RE: Non-blocking keyboard?

2011-10-07 Thread JONES, ROBERT E CTR USAF AETC TTMS/TTMS
You might want to look into the Term::Readkey module. Robert Jones, BSP, BSCS Keesler AFB -Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Barry Brevik Sent: Friday, October 07, 2011

RE: Non-blocking keyboard?

2011-10-07 Thread Ken Slater
Hi, I also thought of Term::ReadKey and gave it a shot, but it reports that non-blocking mode does not work under windows. Also looked at the 'select' statement, but that appears to only work for sockets under windows. Ken From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-

RE: Non-blocking keyboard?

2011-10-07 Thread Jan Dubois
On Fri, 07 Oct 2011, Barry Brevik wrote: I'm writing a program where a process runs in a loop. I want to process keyboard input without disturbing the main process in the loop. I'm trying to use the Win32::Console module for this task (see code below), but the module blocks on the Input