Probably something is wrong with your
Term::ReadKey or
Term::ReadLine installations. When you installed them, did they pass all of the tests? Were they installed somewhere where Perl knows to look for them? What do you get if you type:
perl -MTerm::ReadKey -le 'print $Term::ReadKey::VERSION'
perl -MTerm::ReadLine -le 'print $Term::ReadLine::VERSION'