Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: win32, ctrl-c, sleep, and signals

by Anonymous Monk
on Jun 01, 2006 at 16:45 UTC ( [id://553089]=note: print w/replies, xml ) Need Help??


in reply to Re: win32, ctrl-c, sleep, and signals
in thread win32, ctrl-c, sleep, and signals

alarm() is implemented in perl5.8+ on win32. just try it:
perl -e "eval {local $SIG{ALRM} = sub { die qq!alarm\n! };alarm 1;slee +p 2;alarm 0;};die $@ || 'nothing'"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-20 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found