in reply to Array comparison for 3 arrays

I can see what you mean. Most of the examples show two arrays, but trying it with three arrays like this works:
#!/usr/bin/perl use strict; use warnings; use Set::Intersection; my @arr1 = qw/0 1 2 3 4 5 6 7 8 9/; my @arr2 = qw/1 2 3 4 6 8 10 12 14/; my @arr3 = qw/1 2 3 5 7 9 11 13 15/; my @intersection = get_intersection(\@arr1, \@arr2, \@arr3); print reverse (@intersection), "\n";
It returns 123.