In the works unless I know of something better: a module to return the subtraction of the contents of arrays.
You mean something like:
# "Subtract" (remove) elements of @minus from @list: my %dup; @dup{@minus}= (); @list= grep { exists $dup{$_} } @list;
Update: Thanks to PrincePawn for noting that I left out "not" above.
- tye (but my friends call me "Tye")In reply to Subtract arrays (RE: I have contributed a module to CPAN)
by tye
in thread I have contributed a module to CPAN
by vroom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |