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

Dear Monks

I have 2 arrays, the first has 1882 indexes the second has 1042, both are unordered. All of the second array match the first. I'd like to print the first array and highlight (by printing match) the ones that match and leave the ones that don't unhighlighted, by printing "match" next to if or not? What is the simplest, most direct method which will involve the least number of iterations please.

Much Love DT