@cities = (qw(London Oslo Paris Amsterdam Berlin )); @visited = (qw(Berlin Oslo)); say "Still need to visit:", grep { ! ({ $_, 0 } ~~ @visited) } @cities;
In reply to Re^3: Difference between two arrays - is there a better way?
by Anonymous Monk
in thread Difference between two arrays - is there a better way?
by blindluke
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |