please check the content of your hash. There may be invisible characters in the lines of your first file (like extra space, carriage return, etc.). The best might be to use something like the Data::Dumper module (which is core, so it should be on your machine).
In reply to Re^3: comparing an ID fom one file to the records in the second file
by Laurent_R
in thread comparing an ID fom one file to the records in the second file
by ag88
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |