|
|
| more useful options | |
| PerlMonks |
Re^7: partial match between 2 filesby Kenosis (Deacon) |
| on Dec 08, 2012 at 16:15 UTC ( #1007902=note: print w/ replies, xml ) | Need Help?? |
|
The script that you write needs to insure that only matching words are compared for difference. You can place the code that inserts a "+" at the first string difference position into a subroutine that can be called from anywhere within your script. For example:
Output:
This can help you focus on just the remaining code that aligns the words you want send to this subroutine. Hope this helps!
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||