From: James Dechiaro Date: 2008-05-13T06:29:36+09:00 Subject: Re: array diff Thanks for your responses the files are formatted completely different so i need to break up each field into an array and then call that element. this part is working correctly (just takes awhile). the problem i'm running into is when i try to open back the csv1 and compare the SumArray against it in order to get the entire line (not just the element). It instead prints all the lines, even the ones not contained in the array. So it looks as though the .eql? module is not working correctly. csv1.csv format: "3105551212","01133555615771","BEVERLYHLS","CA","INTL","ON","Apr 28 2008 1:10PM","300","256","0.0250","0.0000","0.0013", csv2.csv format: 3067483e7538520080325105439.8971-040000,ABCCompany,Normal,438,+13105551212,Originating,438,Anonymous,01133555615771,20080325105439.897,1-040000,Yes,20080325105500.333,20080325105716.252,016,,,01133555615771,internat,in,10020101155542615771,,local,,,,,,ABCCompany,,,,,,,,,,y,public,,16519912:0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,user32@domain.com,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,153 -- Posted via http://www.ruby-forum.com/.