Michael.Jacob@SCHERING.DE (via RT) wrote: > $ perl -e 'print kill 0, undef, undef' > 2 > > Ok, this is fairly clear to me, but it may puzzle many > people. (And has, here :-)) > > I'd think the semantics of a PID=0 should be documented in > perlfunc. It may even be wise to let kill() ignore undef > parameters... > > > Also I found the following in the PODs: > > perlfunc/kill: > Unlike in the shell, if SIGNAL is negative, it kills process > groups instead of processes. (On System V, a negative *PROCESS* > number will also kill process groups, but that's not portable.) > > perlipc: > Sending a signal to a negative process ID means that you send the signal > to the entire Unix process-group. > > This should be cleared up, I'd say... Anyone is candidate to provide a patch ? It would be welcome...Thread Previous