in reply to Re^2: Merge the difference between two files and save it on the first file. Also update the first file with info in second file.
in thread Merge the difference between two files and save it on the first file. Also update the first file with info in second file.

> Please suggest any improvements

Your example suggested that you want sorted output

print $c_fh "$_=$a_hash{$_}\n" for (sort keys %a_hash);

Cheers Rolf

( addicted to the Perl Programming Language)

  • Comment on Re^3: Merge the difference between two files and save it on the first file. Also update the first file with info in second file.
  • Download Code