in reply to Re: Difference between two arrays - is there a better way?
in thread Difference between two arrays - is there a better way?

wow this is mind-bending! can you please go through it in detail?
  • Comment on Re^2: Difference between two arrays - is there a better way?

Replies are listed 'Best First'.
Re^3: Difference between two arrays - is there a better way?
by Anonymous Monk on May 12, 2016 at 18:54 UTC
    @cities = (qw(London Oslo Paris Amsterdam Berlin )); @visited = (qw(Berlin Oslo)); say "Still need to visit:", grep { ! ({ $_, 0 } ~~ @visited) } @cities;