Mon Mar 16 08:48:25 2009: Request 14811 was acted upon.
Transaction: Correspondence added by ACALPINI
       Queue: Win32-Console
     Subject: Win32::Console::Mode unable to work correctly. (Input Handle)
   Broken in: (no value)
    Severity: Important
       Owner: ACALPINI
  Requestors: bugspam.cal...@gmail.com
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=14811 >


a quick Google search revealed that $STD_IN->Mode($mode &
~(ENABLE_LINE_INPUT|ENABLE_ECHO_INPUT)) does what you want. 

eg. to remove the ENABLE_LINE_INPUT flag you need to remove
ENABLE_ECHO_INPUT too. 

looks like it is a bug in the Win32 SDK itself (or its documentation, at
least), rather than Win32::Console.

cheers,
Aldo

Reply via email to