Matching elements from 2 arrays in perl

Posted by Paul on Stack Overflow See other posts from Stack Overflow or by Paul
Published on 2010-05-31T17:41:49Z Indexed on 2010/05/31 17:43 UTC
Read the original article Hit count: 121

Filed under:

Right now I am attempting to synchronize two data files that are listed by date so that i can make comparisons later on. However I can not seem to print out only the lines where the dates match. At this point I have separated out the data for each file into 2 arrays. I need to find only the dates that are in both arrays and print them out. Any suggestions would be much appreciated.

© Stack Overflow or respective owner

Related posts about perl