Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by AgentM (Curate)
on Mar 12, 2001 at 02:56 UTC ( [id://63681]=note: print w/replies, xml ) Need Help??


in reply to How can I get just one character from STDIN?

use Curses; ...#initialization stuff my $char=getch();
Read more on Curses in your local man pages for more terminal manipulation goodness.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-03-29 00:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found