Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Grabbing input - every char, not after <Enter>

by dug (Chaplain)
on Sep 17, 2007 at 21:04 UTC ( [id://639488]=note: print w/replies, xml ) Need Help??


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

`perldoc -f getc` has information that you may find useful.

-- Douglas Hunter
  • Comment on Re: Grabbing input - every char, not after <Enter>

Replies are listed 'Best First'.
Re^2: Grabbing input - every char, not after <Enter>
by FunkyMonk (Chancellor) on Sep 17, 2007 at 21:07 UTC
    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

      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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://639488]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-25 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found