Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: timed window

by mickeyn (Priest)
on Feb 26, 2006 at 12:05 UTC ( #532869=note: print w/replies, xml ) Need Help??


in reply to timed window

You can use:

$SIG{ALRM} = { ... code to execute on time-out ... }; alarm 30; # will wait 30 secs before calling your time-out code ... regular code ... alarm 0; # set this if ok to neutralize the alarm

this is only good if the alarms are not nested.

Enjoy,
Mickey

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://532869]
help
Chatterbox?
[james28909]: is this acceptable? Re: Iterate multiple arrays with added text
[james28909]: wooo im a 1337 hax0r!!!1!1

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2017-05-23 22:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?