Problems? Is your data what you think it is? | |
PerlMonks |
Can I capture string typING in STDIN without press enter?by exilepanda (Friar) |
on May 29, 2012 at 15:37 UTC ( [id://973051]=perlquestion: print w/replies, xml ) | Need Help?? |
exilepanda has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
I am make an typing speed test for our hr dept. This is an remake, but more complex, since this one is not simply for typing English. The previous one I had 3 threads, one for timer, one for keypress counter, and last is STDIN line for candidate to type. But this time, we have Chinese(Big5/GB2312) chars ( or possibly Japanese later). So I couldn't simply count by keypressed. and I have no idea how to deal with the last line(stdin not entered) when the timer is done. Any suggestion for this? ps. I am on Win32. Thanks in advance
Back to
Seekers of Perl Wisdom
|
|