Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Issue with time() in loop?

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 --

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://508124]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-25 09:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found