Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Timed event within a script

by johngg (Canon)
on Mar 07, 2017 at 23:04 UTC ( [id://1183894]=note: print w/replies, xml ) Need Help??


in reply to Timed event within a script

Perhaps you could use alarm (but see this for portability issues) to trigger a $SIG{ ALRM } callback that sends the "I'm alive" message.

Update: Corrected mis-matched brackets in text.

Cheers,

JohnGG

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-16 23:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found