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
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
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:
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,
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