Skip to content

Instantly share code, notes, and snippets.

@tene
Created September 3, 2010 21:53
Show Gist options
  • Select an option

  • Save tene/564629 to your computer and use it in GitHub Desktop.

Select an option

Save tene/564629 to your computer and use it in GitHub Desktop.
my @clusters = <a b c d e f>;
my @backed_up = <a b d f>;
my @not = @clusters.grep(* eq none(@backed_up));
say @not.perl; # ["c", "e"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment