Help for this page

Select Code to Download


  1. or download this
    # loop until I get a null input
    while(1){
    ...
        exit 0 unless $x
        # rest of the code here
    }
    
  2. or download this
    #this also loops until a null happens. 
    for(;1;){   # see above for rest of approach
    
  3. or download this
    # Iterate 10 times and quit
    for(0..9) {
         # rest of your code 
    }