/suse strict; use Quantum::Superpositions; my @a = qw(cat dog monkey); my @b = qw(cat dog); print map { $_ eq any(@b) ? () : ($_) } @a;
In reply to Re: Reducing array
by educated_foo
in thread Reducing array
by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |