good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Reading all nonblocking keystrokes in Win2000by c-era (Curate) |
on Nov 16, 2001 at 00:35 UTC ( [id://125662]=note: print w/replies, xml ) | Need Help?? |
Look up ASCII, and change print $c; to print ord($c);. The delete key doesn't have a character map (which is why you get a space) your program will need to compair with the delete character, not the space character. Also look at what pressing return does ; )
In Section
Seekers of Perl Wisdom
|
|