in reply to Re: Question on how fork works.
in thread Question on how fork works.

The docs describe it just a little differently. According to perlfunc, it returns 0 (zero) to the child process. undef is returned to the parent if the fork fails.

- Matt Riffle

Replies are listed 'Best First'.
Re: Re: Re: Question on how fork works.
by samtregar (Abbot) on Jul 01, 2002 at 03:31 UTC
    Good point. I should have kept it to what I knew and said it returned false.

    -sam