Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^7: $SIG{ALRM} and windows vista?

by BrowserUk (Patriarch)
on Jan 04, 2010 at 20:37 UTC ( [id://815640]=note: print w/replies, xml ) Need Help??


in reply to Re^6: $SIG{ALRM} and windows vista?
in thread $SIG{ALRM} and windows vista?

On Windows Vista, your code doesn't do anything useful.

It does! It demonstrates that alarm works, when the operation, (sleep in this case), doesn't involve IO. Ie. The sleep 10; was interupted by the alarm 5. And that was the only reason I posted it.

For a solution to your problem that works, see Term::ReadKey


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-03-29 05:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found