develooper Front page | perl.beginners | Postings from June 2011

RE: Timeout for user input

Thread Previous | Thread Next
From:
Ken Slater
Date:
June 17, 2011 06:53
Subject:
RE: Timeout for user input
Message ID:
001901cc2cf5$da759390$8f60bab0$@edu
> -----Original Message-----
> From: Parag Kalra [mailto:paragkalra@gmail.com]
> Sent: Friday, June 17, 2011 9:39 AM
> To: Perl Beginners
> Subject: Timeout for user input
> 
> Hi,
> 
> I have a requirement where I want to wait for user to input the data.
> 
> However if user doesn't input the data within certain period of time
> then it
> should timeout and move ahead.
> 
> TIA
> 
> ~Parag

Take a look at the IO::Select module (perldoc IO::Select).
HTH, Ken



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About