harry34 has asked for the wisdom of the Perl Monks concerning the following question:

how could I write code to check how many times items in array 1 are present in array 2
e.g if @array_1 =A B
e.g if @array_2 =A B C D A D B A C


update (broquaint): title change (was array)