in reply to Fun with arrays
You might want to give us examples of the two files too. From what you've given us, I'd say telling us the first two lines of file 1 and the matching two lines from file 2 would work. I'm not sure if there are key elements that match up your arrays or if you just want to associate the first entry in file 1 with the first entry in file 2, etcetera. . .
Either way, you need to open both files, read data in, process it through an algorithm (which at this point isn't clear), and put the data into an array (or maybe a hash). You haven't said how you plan to output the results either, to file or to screen. . .
- - Arden.
|
|---|