http://qs321.pair.com?node_id=183988


in reply to Win32::Console Input Buffer Problem

your problem is that you're creating a console in memory, and this one isn't tied with STDIN. so it has no ways to catch input events. change your new Win32::Console() line to read: new Win32::Console(STD_INPUT_HANDLE) and you'll get the input as you expect.

cheers,
Aldo

__END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;