in reply to
Processing command line arguments
The really badly documented
Term::ReadLine
will solve your timeout issue.
Comment on
Re: Processing command line arguments
In Section
Seekers of Perl Wisdom