in reply to Re: Grabbing input - every char, not after <Enter>
in thread Grabbing input - every char, not after <Enter>

getc won't do what the OP wanted. From perldoc:
However, it cannot be used by itself to fetch single characters without waiting for the user to hit enter

Replies are listed 'Best First'.
Re^3: Grabbing input - every char, not after <Enter>
by dug (Chaplain) on Sep 17, 2007 at 22:46 UTC

    I didn't recommend using getc. I recommended reading the getc documentation, because the majority of the getc documentation is devoted to solving the OP's problem.

    Thanks,

    -- Douglas Hunter