$ ./bar.pl a is in both arrays d is in both arrays e is in both arrays