RE: win32 console input problem

2001-12-12 Thread Wert, Nathaniel
ailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 3:02 PM To: [EMAIL PROTECTED] Subject: Re: win32 console input problem Try this: use Win32::Console; $con = Win32::Console->new(STD_INPUT_HANDLE); @event = $con->Input(); print "$event[0] - event type

Re: win32 console input problem

2001-12-12 Thread Herb Hall
el Wert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 12, 2001 12:11 PM Subject: win32 console input problem > Here's the code: > > use Win32::Console; > $con = Win32::Console->new(STD_INPUT_HANDLE); > @event = $con->Input(); >

win32 console input problem

2001-12-12 Thread Nathaniel Wert
Here's the code: use Win32::Console; $con = Win32::Console->new(STD_INPUT_HANDLE); @event = $con->Input(); $tmp = $event[6]; print "\n The character typed was: $tmp \n"; For some reason $event[6] is always returning the ascii value of the space character no matter what I type. I am not really s