P is for Practical | |
PerlMonks |
Re: Issue with time() in loop?by vek (Prior) |
on Nov 13, 2005 at 17:49 UTC ( [id://508124]=note: print w/replies, xml ) | Need Help?? |
Tanktalus has offered a very sensible suggetion. In case you want to persue another alternative with the code you have, you could trigger & catch a $SIG{ALRM} via alarm after your $endtime seconds threshold has been met.
--
vek
--
In Section
Seekers of Perl Wisdom
|
|