467,179 Members | 1,228 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,179 developers. It's quick & easy.

Perl Code for pressing keys on a keyboard

100+
Hi,

Can someone please provide me some code that that identifies what key im pressing on the keyboard?

for example if i pressed the key 'r'.....??

I would to write some code that would allow users to select items by pressing keys on a keyboard...

thanks in advance
Jul 7 '08 #1
  • viewed: 1525
Share:
1 Reply
KevinADC
Expert 2GB
There is Term::ReadKey:

http://search.cpan.org/~jstowe/TermR....30/ReadKey.pm

Never used it myself and you most likely have to install it.
Jul 7 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

9 posts views Thread by Martin Foster | last post: by
2 posts views Thread by RaphaŽl | last post: by
5 posts views Thread by Robert Oschler | last post: by
2 posts views Thread by John | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.