Re: How to compare two arrays by using perl script?

2009-05-13 Thread milk
On Tue, May 12, 2009 at 11:05 AM, Tsu-Fan Cheng wrote: > I have two arrays, each has two columns (so its A1, B1 and A2, B2). As > are the positions while Bs are the values. I need to get the ratio > between B1 and B2 if their As are the same or close to each other > within a certain distance. Wel

How to compare two arrays by using perl script?

2009-05-12 Thread Tsu-Fan Cheng
Hi ALL, This is not a fbsd-related but a programming question. But this is the only forum I join, I give it a try. I have two arrays, each has two columns (so its A1, B1 and A2, B2). As are the positions while Bs are the values. I need to get the ratio between B1 and B2 if their As are the same