Number found where operator expected at try.pl line 15, near "Term::ReadKey::ReadMode 2" (Do you need to predeclare Term::ReadKey::ReadMode?) Number found where operator expected at try.pl line 19, near "Term::ReadKey::ReadMode 0" (Do you need to predeclare Term::ReadKey::ReadMode?) syntax error at try.pl line 16, near "Term::ReadKey::ReadMode 2" syntax error at try.pl line 20, near "Term::ReadKey::ReadMode 0" Execution of try.pl aborted due to compilation errors.