|Just another Perl shrine|
How to set timer in perlby Rahul Gupta (Sexton)
|on Jun 13, 2013 at 12:26 UTC||Need Help??|
Rahul Gupta has asked for the
wisdom of the Perl Monks concerning the following question:
I have a file with huge data, i read the same file and stored the content in an array
i have to check the string for some specific time(i.e 5 secs..). if i don't get the string in defined time, then it should get terminate.
i used alarm but it didn't work for me.
can any one help methanks in advance