in reply to Compare variables when the number of them vary
Thanks you. List::MoreUtils worked a treat. I tried both suggestions and they did the job ! Thanks