CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
Compare lists from several files

 



k.heinonen
New User

Aug 17, 2007, 12:54 PM

Post #1 of 4 (2314 views)
Compare lists from several files Can't Post

Hi,
eventhough I am able to write programs in different languages Perl is still mystery to me...and now I have a application which can most probably be done in perl very easyly.
Here is my problem: I have a list (txt file with tabstops) with several different x and y coordinates and I have lists of other x and y coordinates. Now I need somehow to compare these lists and find the coordinates with the closest distance to the x and y coordinats from list 1.
Thank you, Karl


KevinR
Veteran


Aug 18, 2007, 12:41 AM

Post #2 of 4 (2311 views)
Re: [k.heinonen] Compare lists from several files [In reply to] Can't Post

Not sure if I can help you out or not, but for anyone to help they will need to see how the files are formatted. Attach a good sample file to a post and explain anything that is unclear.
-------------------------------------------------


k.heinonen
New User

Aug 20, 2007, 7:26 AM

Post #3 of 4 (2304 views)
Re: [KevinR] Compare lists from several files [In reply to] Can't Post

hey,
the files are tab stop seperated tables. I attached the files. The file contains the long list with the original entries. In the second file (not atteched but same layout) contains the entries that need to be found in the first file (one of the columns contain a number which can be linked to the first file).
Thanks, Karl
Attachments: IMG_2562.txt (1.21 KB)


KevinR
Veteran


Aug 20, 2007, 12:44 PM

Post #4 of 4 (2302 views)
Re: [k.heinonen] Compare lists from several files [In reply to] Can't Post


In Reply To
hey,
the files are tab stop seperated tables. I attached the files. The file contains the long list with the original entries. In the second file (not atteched but same layout) contains the entries that need to be found in the first file (one of the columns contain a number which can be linked to the first file).
Thanks, Karl


You will need to explain what you want done in much more detail. Examples of input and output would also help.
-------------------------------------------------

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives