in reply to Re: Win32::Event question
in thread Win32::Event question

Thanks for your response. It looks simplest to go with the first way. What is the code to check if a key is pressed?

Replies are listed 'Best First'.
Re^3: Win32::Event question
by ikegami (Patriarch) on Jul 20, 2005 at 20:26 UTC

    Try Term::ReadKey's ReadKey -1.

    There's also Win32::Console's PeekInput and Input.

    I haven't tried either. The second comes with ActivePerl.

      thanks for the response!