in reply to searching through data
Just an idea:
Instead of searching through @array1 for each line of your input file, you could store the values you read from the file in another array and then compare the two arrays... and print the matching values.
|
|---|