in reply to Putting script in background
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. :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Putting script in background
by perljunky (Sexton) on Sep 13, 2007 at 00:13 UTC |