in reply to Are dynamic 'use' statements possible?
if(eval "require Term::ReadKey") { import Term::ReadKey; } [download]