in reply to Re^3: Perl: How to perfectly match specific data between two files and do comparison?
in thread Perl: How to perfectly match specific data between two files and do comparison?

Thank you. It almost works! However, It prints the same scores in reports. Maybe some problem in defining $a and $b or push array. I tried to print out $a and $b after: my ($a,$b) = ($reportA->{$name}, $reportB->{$name}); The output scores are the same from file B. Perhaps I miss out something. What's wrong with that?
  • Comment on Re^4: Perl: How to perfectly match specific data between two files and do comparison?

Replies are listed 'Best First'.
Re^5: Perl: How to perfectly match specific data between two files and do comparison?
by Loops (Curate) on Jul 24, 2013 at 18:00 UTC
    It's quite suspicious that the scores are the same -- double check that you did in fact use files that have differing values for the inputs. Also rerun the script against the data from your original post.