Term::ReadKey doesn't return the special keys on Windows at the current time, this is because the underlying API returns 0 for those keys and the windows API expects you to look up the actual key elsewhere. I have a nearly working patch for this that will return the ANSI character sequences for the keys which should be available with the next release, but I'm not making any promises as to when this will be released. You might want to consider using instead Win32::Console which gives you the "virtual key code" for the special keys.
/J\
In reply to Re: Getting special keys to work with Term::ReadKey in Windows
by gellyfish
in thread Getting special keys to work with Term::ReadKey in Windows
by Ace128
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |