pavanmach has asked for the wisdom of the Perl Monks concerning the following question:
Is there any module in perl to timeout say in 2 seconds without looping indefinitly ? Any help will be apreciated. Thanks in advance.for($i=1;;$i++) { print "hi"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Timing out
by ikegami (Patriarch) on Feb 10, 2010 at 08:17 UTC | |
|
Re: Timing out
by 7stud (Deacon) on Feb 10, 2010 at 08:13 UTC | |
|
Re: Timing out
by Anonymous Monk on Feb 10, 2010 at 07:42 UTC |