Help for this page

Select Code to Download


  1. or download this
    @list = grep { $item ne $_ } @list;
    
  2. or download this
    my ($index) = grep { $item eq $list[$_] } 0..$#list;
    splice(@list, $index, 1) if defined $index;