my $C = shift ; my @others = grep $_ ne $C, @_;
p.s. Unless there are more parameters following the grep call not intended for (this) grep, you may just as well drop the parens.
In reply to Re: Using a Regexp to match a string exactly
by bart
in thread Using a Regexp to match a string exactly
by brainbuz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |