in reply to Help? - Trouble outputting data corectly
put this at the top of the for loop, before printing anything. It will skip it if the current message's neighborhood is not equal to the value in the outer foreach loop's.next unless $mneighborhood[$b] eq $mneighborhood;
A better approach would be to store things in a list of records rather than in paralell arrays. Then you can grep-out by any criteria you want.
—John
|
|---|