my @a_not_b; { local @_{@a} = (); delete @_{@b}; @a_not_b = keys %_; }
In reply to Re: most efficient way to implement "A without B"
by sh1tn
in thread most efficient way to implement "A without B"
by telcontar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |