|XP is just a number|
You get this message from Perl:
syntax error at C:\Users\DR-SUPRIYO\Desktop\match.pl line 21, near "print"
Then you write:
"But something has gone wrong in the script either in naming (assigning) the original and matching texts to variables at lines 9-10 or missing some code at line 11."
I looked at the print on line 21. It's part of this statement spanning lines 20-21:
I haven't looked at any other parts of your code because Perl clearly states where the problem lies.
In reply to Re: How do I change the code to get percent match and matched words between two texts?