Help for this page

Select Code to Download


  1. or download this
        if ($colors[$num] eq $drop[0] or $colors[$num] eq $drop[1]){      
    +   
            splice (@colors, $num, 1);
            $num--;    
        }
        $num++;
    
  2. or download this
        if ($colors[$num] eq $drop[0] or $colors[$num] eq $drop[1]) {
            splice (@colors, $num, 1);
        } else {
            $num++;
        }