in reply to Re: Re: A Quick fork theory question
in thread A Quick fork theory question
Because your child *returns* (after it has done the printing)
into the for loop, thereby (next iteration) phorking itself
a child - and 2x2 makes 4. BTW it should exit or die"\n".
In Section
Seekers of Perl Wisdom