Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 having an uproarious good time at the Monastery: (6)
As of 2016-09-29 10:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (551 votes). Check out past polls.