Help for this page

Select Code to Download


  1. or download this
    for my $ix (reverse 0 .. $#$ar) {
      if ($someConfig->{ $ar->[$ix] }{Exclude}) {
        splice @$ar, $ix, 1;
      }
    }
    
  2. or download this
    @$ar = grep !$someConfig->{$_}{Exclude}, @$ar;