Subject: | Win32::Console::Mode unable to work correctly. (Input Handle) |
When I do:
my $STD_IN = new Win32::Console(STD_INPUT_HANDLE);
my $mode = $STD_IN->Mode();
$STD_IN->Mode($mode & (~ENABLE_LINE_INPUT));
$STD_IN->InputChar(1);
It Forces me to wait for a carrage return, and based on the win32 API, this should not happen.
Workarounds appreciated, and/or fixes.