Task 1: Now i need a program which can capture the *complete* data (all the columns) above into 2 arrays and then calculate distances bw the co-ordinates picked from col (6,7,8). Co-ordinates of the form (x,y,z)i.e, col (-2.221, -32.646, -27.517) for A and (a,b,c)i.e., col (-4.132,-33.887, -26.508) for B. Calculate :my $dist = sqrt( ($x-$a)**2 + ($y-$b)**2 + ($z-$c)**2 );

This calculation has to happen for all the rows from A with all rows from B.

Task 2: After calc all distances, pick out those dist which have a value bw 2.5 and 3. Now, this value needs to be printed out as :

Im completely stuck when it comes to picking all the elements in a row from file A and B ... i mean since i am picking from 6,7,8 only.. also the output should have all the details... Im new to perl and just so lost!! Any help would be really appreciated

Im completely stuck when it comes to picking all the elements in a row from file A and B ... i mean since i am picking from 6,7,8 only.. also the output should have all the details... Im new to perl and just so lost!! Any help would be really appreciated

We can do it within your budget,if interested contact our programmer live or put your requirement in our messegebord @ http://www.livefreelancer.net/