develooper Front page | perl.perl5.porters | Postings from November 2003

Re: [perl #24353] kill() --- POD needs a hand

Thread Previous
Rafael Garcia-Suarez
November 2, 2003 07:17
Re: [perl #24353] kill() --- POD needs a hand
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About