Help for this page

Select Code to Download


  1. or download this
    while(@array1) {
        ONE: while(@array1) {
    ...
            # push @array1, ...
        }
    }
    
  2. or download this
    while(@array1 or @array2) {
        my $i = 0;
    ...
            # Do various things (as above)
        }
    }
    
  3. or download this
    while(@array) {
        my $item = shift @array;
    ...
            warn $item;
        }
    }