Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

fork-bomb!

by Xanatax (Scribe)
on Apr 29, 2003 at 20:07 UTC ( #254078=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while( ){ fork(); }
    
  2. or download this
        if( fork() ){
            # code
        } else {
            # code
        }
    
  3. or download this
        while( ){
    
    ...
            }
    
        }
    
  4. or download this
        while( ){
    
    ...
            }
        
        }
    
  5. or download this
        while( ){
            unless( fork() ){
    ...
                exit;
            }
        }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://254078]
Approved by sschneid
Front-paged by boo_radley
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2014-09-16 05:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (156 votes), past polls