Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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?
[Discipulus]: ♫ entre nubes de algodon ♫♪
[karlgoethebier]: ♪ ♫ ♬ Alles hat ein Ende nur die Wurst hat zwei ♪ ♫
[Discipulus]: mina's great voice
[Discipulus]: lol karl, i must learn this sentence by heart

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2017-07-25 09:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (369 votes). Check out past polls.