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
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();
>
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