http://www.perlmonks.org?node_id=996147


in reply to How do I change the code to get percent match and matched words between two texts?

Have you looked at line 21 (and 20) of your program?

Please look at the two lines, and explain to us what the two lines should do. Also consider that by convention, most lines in Perl programs contain a single statement and should end with the statement separator, ";".

  • Comment on Re: How do I change the code to get percent match and matched words between two texts?

Replies are listed 'Best First'.
Re^2: How do I change the code to get percent match and matched words between two texts?
by supriyoch_2008 (Monk) on Sep 28, 2012 at 13:45 UTC

    Corion,

    Thanks for your comment. Line 20 i.e. my $sentence,my $possible_match should find the matched words between two sentences. I shall go through the texts suggested by Marto and try once again to fix it.

    Regards,