Funny that it felt like a homework assignemnt, showing that homework sometimes does reflect the real world :-).
That said, I can't see any particular issue with yoru code, other than the use of a variable for the file handle, which I'm seeing more and more of in Perl posts here. Has that become the "new normal"?
What you just did with that code, by the way, is essentially re-invent the sort/merge using Perl hashes to take care of all the dirty work for you. :-)
Looking forward to your next Perl issue.
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 marinersk
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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |