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.
In reply to Re^2: Signals in Strawberry Perl: Name or number?
by Crackers2
in thread Signals in Strawberry Perl: Name or number?
by bv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |