By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,904 Members | 1,089 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,904 IT Pros & Developers. It's quick & easy.

Perl Code for pressing keys on a keyboard

P: 173

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
Share this Question
Share on Google+
1 Reply

Expert 2.5K+
P: 4,059
There is Term::ReadKey:

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.