Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Can I capture string typING in STDIN without press enter?

by zwon (Abbot)
on May 30, 2012 at 11:49 UTC ( #973269=note: print w/replies, xml ) Need Help??


in reply to Re: Can I capture string typING in STDIN without press enter?
in thread Can I capture string typING in STDIN without press enter?

Typing Chinese is actually quite different from English, because the same sequence of keys may match several Chinese characters. Usually user can select the right character from some pop-up. If OP not just count keystrokes, but also checks the input simple ReadKey won't help him.
  • Comment on Re^2: Can I capture string typING in STDIN without press enter?

Replies are listed 'Best First'.
Re^3: Can I capture string typING in STDIN without press enter?
by exilepanda (Pilgrim) on May 30, 2012 at 15:02 UTC
    Thank you for supplementary. Indeed that's my problem and thaz why I need STDIN badly.. just seems the last row still need to get done with readkey by anyway..

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://973269]
help
Chatterbox?
[moritz]: perl -MNetAddr::IP -wE 'say NetAddr::IP->new( "2001:780:233::/ 64")->hostenum' dies with netmask error: overrange or spurious bits at -e line 1.
[moritz]: any idea what's wrong?
[moritz]: seems there's a size limit for hostenum, and the error message just sucks
[vrk]: None, other than the location of the error: auto/NetAddr/IP/ _splitref.al

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2017-04-25 07:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (449 votes). Check out past polls.