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)
In reply to 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.
by LanX
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.
by Shariq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |