i am using a hexified ascii value to recognize keystrokes (with ReadKey), so:
if ($key =~ /\x7e/) { BLOCK }
Unfortunately of course some "multicharacter" keys respond to the same number (eg, PgUp and PgDn are 7e); I can get all three values for these keys but how can i use that with \x to distinguish PgUp from PgDn?