in reply to check 2 string arrays

You've posted about this numerous times, each being slightly different. I still recommend List::Compare.