We don't bite newbies here... much | |
PerlMonks |
Re: Merge the difference between two filesby marinersk (Priest) |
on Jun 17, 2017 at 04:17 UTC ( [id://1193005]=note: print w/replies, xml ) | Need Help?? |
Hello, lonnie. I've made some changes to your code, similar to what dbander asked you to do in your previous and strikingly similar request for help. I get the same output you do, so we're on the right track. I will only comment on the things which prevent your code from working. There's a lot more we should discuss later. Your main problem seems to be in this logic:
In regular English, this code:
Then, at the end, you print out all the lines you saved -- which are the ones which start with "NAME".
In Section
Seekers of Perl Wisdom
|
|