Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Answer: is ther any way to get only one char from stdin

by crazyinsomniac (Prior)
on Mar 12, 2001 at 08:27 UTC ( #63739=categorized answer: print w/replies, xml ) Need Help??

Q&A > input and output > How can I get just one character from STDIN? - Answer contributed by crazyinsomniac

Very interesting solutions, i'd just use Term::Readkey.

  • Comment on Answer: is ther any way to get only one char from stdin
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2017-11-22 08:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (316 votes). Check out past polls.

    Notices?