in reply to Compare Arrays with a Count of Matches
First, please do not include use strict; use warnings; at the head of a post if the code you are running doesn't use it. It is misleading and unhelpful. Use of those terms is to catch mistakes, such as the attempted use of an array as a hash on line 23. I also note that you have a bang-hash on your first line in place of a hash-bang, which implies you added that to your post as well. Also note that the -w switch is redundant with use warnings;.