in reply to help with time limit script

Have a look at Term::ReadKey. The ReadKey function has a timeout option...

Paul