Array comparision

Posted by devtech on Stack Overflow See other posts from Stack Overflow or by devtech
Published on 2010-04-07T10:51:26Z Indexed on 2010/04/07 10:53 UTC
Read the original article Hit count: 358

Filed under:

Hello Guys, I have two arrays A & B,I want to do a compare among the elements between the two arrays. @a = "abc,def,efg,ghy,klm,ghn" @b= "def,ghy,jgk,lom,com,klm"

if any element matches then set a flag 0 else 1. Is there any simple way to do this. please advise

© Stack Overflow or respective owner

Related posts about perl