RE: How do I compare and get difference of two arrays

2005-02-25 Thread Mulley, Nikhil
I think , you can use grep for that basically, here is direct from DOC. From the documentation ~~ grep EXPR,LIST This is similar in spirit to, but not the same as, grep(1) and its relatives. In particular, it is not limited to using regular expressions. Evaluates the BLOCK

RE: How do I compare and get difference of two arrays

2005-02-25 Thread Charles K. Clarkson
Mungamuru, Sasi Kiran Kumar wrote: : Hi all, : : How Do I compare and get difference of two arrays as my : both arrays carries scalar values and my output should be : stored to another array. Can you please help me out. Read perlfaq4: How do I compute the difference of two

Re: How do I compare and get difference of two arrays

2005-02-25 Thread Ing. Branislav Gerzo (mail-lists)
Mungamuru, Sasi Kiran Kumar [MSK], on Friday, February 25, 2005 at 13:44 (+0530) wrote about: MSK     How Do I compare and get difference of two MSK arrays as my both arrays carries scalar values and my output MSK should be stored to another array. Nice answer is from perl cook book:

RE: How do I compare and get difference of two arrays

2005-02-25 Thread Arms, Mike
Sasi Kiran Kumar Mungamuru wrote: How Do I compare and get difference of two arrays as my both arrays carries scalar values and my output should be stored to another array. In addition to the excellent responses by $Bill and others I would add that I use Mark-Jason Dominus' excellent module,

RE: How do I compare and get difference of two arrays

2005-02-25 Thread Thomas, Mark - BLS CTR
Mike Arms wrote: Sasi Kiran Kumar Mungamuru wrote: How Do I compare and get difference of two arrays as my both arrays carries scalar values and my output should be stored to another array. In addition to the excellent responses by $Bill and others I would add that I use Mark-Jason