Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^6: comparing file contentsby kumaar1986 (Initiate) |
on Nov 22, 2011 at 19:04 UTC ( [id://939515]=note: print w/replies, xml ) | Need Help?? |
I have two files namely ICD-Codes-text which is tab format and other file named female.txt which has been split word by word . i need to compare the contents of female1.txt to ICD-codes file 0th array values. If there is a match then the matched value in female1.txt should be replaced with ICD-code files corresponding 1st array value. I am a beginner in PERL. I tried to write some code but i do not know where am going wrong or its completely wrong. Help me with this please
file samples ICD.codes-text
female1.txt
I hope i have changed it as required. If not please let me know i will try to change further. thanks for your time and effort to help me correct my problems. Thanks for your help in advance
In Section
Seekers of Perl Wisdom
|
|