Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

print words based on nonmatching character between 2 files

by lakssreedhar (Acolyte)
on Dec 05, 2012 at 08:29 UTC ( #1007231=perlquestion: print w/ replies, xml ) Need Help??
lakssreedhar has asked for the wisdom of the Perl Monks concerning the following question:

I have 2 file File1 1. amayaM 2. vismayaM 3. vismayaN File2 1. amayamAn 2. vismayamAn 3. vismayamer I need to check each character by character between 2 files and if the nonmatching character in first file is M then print the word in first file else no output. output 1. amayaM 2. vismayaM

Comment on print words based on nonmatching character between 2 files
Re: print words based on nonmatching character between 2 files
by GrandFather (Cardinal) on Dec 05, 2012 at 09:15 UTC

    So what did you try and how did it fail?

    Update: how does this question relate to your previous question partial match between 2 files?

    True laziness is hard work

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1007231]
Approved by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2014-07-24 13:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (160 votes), past polls