Problems? Is your data what you think it is? | |
PerlMonks |
Re: Re: Re: A Quick fork theory questionby Anonymous Monk |
on Jun 15, 2001 at 00:37 UTC ( [id://88615]=note: print w/replies, xml ) | Need Help?? |
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
|
|