Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2017-03-01 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (429 votes). Check out past polls.