Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: Re: A Quick fork theory question

by Anonymous Monk
on Jun 15, 2001 at 00:37 UTC ( #88615=note: print w/replies, xml ) Need Help??


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".
  • Comment on Re: Re: Re: A Quick fork theory question

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://88615]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2020-07-13 08:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?