http://www.perlmonks.org?node_id=193905


in reply to default value after timeout

You might want to check out Term::ReadLine::Gnu. It allows access to the GNU Readline Library, which allows you to specify a timeout.

stephen