in reply to Re: Signals in Strawberry Perl: Name or number?
in thread Signals in Strawberry Perl: Name or number?
kill ALRM, $$ doesn't make sense to me!
It means "send an ALRM signal to the process with PID $$ (which mean the current process). While it may not make much sense in production code, it's certainly useful for testing.
You may want to reread the docs for kill; unlike the shell version, the perl version requires you to have the signal as first parameter, followed by the PIDs you want to send the signal to.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Signals in Strawberry Perl: Name or number?
by Marshall (Canon) on Sep 13, 2009 at 04:33 UTC | |
by ikegami (Patriarch) on Sep 13, 2009 at 05:25 UTC | |
by Marshall (Canon) on Sep 13, 2009 at 06:34 UTC | |
by ikegami (Patriarch) on Sep 13, 2009 at 07:46 UTC |
In Section
Seekers of Perl Wisdom