Github
Photos
GCount
Quotes
Home
If you want to remove an item from an array you can use a inverse grep filter like this:
grep
my @x = qw(foo bar baz orange); @x = grep { !/orange/ } @x;
or
my @x = qw(foo bar baz orange); @x = grep { $_ ne 'orange' } @x;