Hard to tell considering the lack of markup on your code sample, but it would appear you're calling INT_handler and setting $SIG{INT} to it's return value. You want \&INT_handler to return a reference to your sub instead there.
Update: And there was markup. Huzzah, much better. :)
In reply to Re: Putting script in background
by Fletch
in thread Putting script in background
by perljunky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |