Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by jesuashok (Curate)
on May 30, 2006 at 11:42 UTC ( [id://552528]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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

Hi

The reason could be die raises a signal. so Inside a signal handler, If a signal getting raised it will lead to misleading result. that is what happened in your code.

Remove the die and use exit there. I have updated my node accordingly. use the same code and try in your important.

That will work.

"Keep pouring your ideas"
  • Comment on Re^3: win32, ctrl-c, sleep, and signals

Replies are listed 'Best First'.
Re^4: win32, ctrl-c, sleep, and signals
by SirBones (Friar) on May 30, 2006 at 12:45 UTC
    That will work.

    Afraid not. :-) Still doesn't work for me. Peculiar.

    Thanks for trying it.

    Ken

    "This bounty hunter is my kind of scum: Fearless and inventive." --J.T. Hutt

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://552528]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.