RE: Search through two arrays for differences

2005-05-04 Thread Wagner, David --- Senior Programmer Analyst --- WGO
--- Senior Programmer Analyst --- WGO; beginners@perl.org Subject: RE: Search through two arrays for differences Thanks David but you're assuming I know more Perl than I do. I read your reply and honestly do not know what you said. I'm a Perl beginner--that's why I chose the

RE: Search through two arrays for differences

2005-05-04 Thread david cateron
Thanks David but you're assuming I know more Perl than I do. I read your reply and honestly do not know what you said. I'm a Perl beginner--that's why I chose the beginners list. I've read the books about hashes, etc., but I was thinking this was just an array search. Maybe I'm being too sim

Re: Search through two arrays for differences

2005-05-03 Thread John W. Krahn
david cateron wrote: Subject: Search through two arrays for differences This is explained in the FAQ: perldoc -q "How do I compute the difference of two arrays" I have put information in two arrays as follows: Element(0) - File Name Element(1) - Field Name Both arrays are set up this way. I'd

RE: Search through two arrays for differences

2005-05-03 Thread Wagner, David --- Senior Programmer Analyst --- WGO
david cateron wrote: > I have put information in two arrays as follows: > > Element(0) - File Name > Element(1) - Field Name > > Both arrays are set up this way. I'd like to search through both > arrays and if the File name is the same in both (there will be about > 10 different file names--file