in reply to perl alarms not working as expected
Well, it works for me when I run it in the shell. However I see that you seem to be running it as a CGI script. The web server is probably waiting for that shell script to finish, because the shell script still has an open file handle to your standard output.
You should try killing the other script from your signal handler.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: perl alarms not working as expected
by kavkazi (Initiate) on Oct 16, 2012 at 13:18 UTC | |
by betterworld (Curate) on Oct 16, 2012 at 17:20 UTC | |
by kavkazi (Initiate) on Oct 16, 2012 at 19:18 UTC | |
by betterworld (Curate) on Oct 16, 2012 at 22:08 UTC |
In Section
Seekers of Perl Wisdom