Syntactic Confectionery Delight | |
PerlMonks |
Re^3: compare two files and print the differences of file 2 in a third fileby dbander (Scribe) |
on Jun 16, 2017 at 13:43 UTC ( [id://1192937]=note: print w/replies, xml ) | Need Help?? |
Your issue is that you are not reading GOODFILEproperly. You thanked me for taking the time to look at your code. Click on the spoiler link below to see what the problem is. I added a chompand printstatement after each of the while()statements, which is what I asked you to do. Here's what I get when I run the modified version of your script:
Look closely at the line which shows what data you are "reading" from GOODFILE.
In Section
Seekers of Perl Wisdom
|
|