Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
this close? any tips, suggestions? Thanks!open all files grab all lines from file 1 - split each line into 3 strings( $number, +$year, $string) concatenate $number.$year into one $searchvalue make hash with keys of $searchvalue and values of $string populate array1 with these $searchvalues grab all lines from file 2 into array2 compare array1 to array2 where value from array1 doesn't find a match in file2, print hash valu +e with the key of $searchvalue to file results
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: pseudocode needed - comparing multiple columns of two files
by citromatik (Curate) on Dec 12, 2007 at 12:48 UTC | |
|
Re: pseudocode needed - comparing multiple columns of two files
by Erez (Priest) on Dec 12, 2007 at 13:25 UTC | |
|
Re: pseudocode needed - comparing multiple columns of two files
by apl (Monsignor) on Dec 12, 2007 at 12:45 UTC |