Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by Mr. Muskrat (Canon)
on Sep 28, 2012 at 20:45 UTC ( #996291=note: print w/replies, xml ) Need Help??


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

Once you fix that compilation error, you'll want to fix line 15 as well.

     foreach my $comparison (my @comparison_texts) {

You: "Hey, I want you to loop through the new (and empty) @comparison_texts array!"

Perl: "Okay, that's a no-op. Enjoy your lack of results."

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996291]
help
Chatterbox?
[marioroy]: Is List::Util::XS a core Perl module?
[stevieb]: corelist List::Util::XS says "List::Util::XS was first released with perl v5.10.1"
[stevieb]: so yes, since v5.10.1 :)
[MidLifeXis]: According to [metaperl:// corelist], Perl 5.10.1
Lady_Aleena blurbles. One of her favorite modiles is now in "maintenance mode" in favor of a new fangled module.
[MidLifeXis]: D'oh. Slow out of the gate.
[marioroy]: Thanks stevieb, MidLifeXis.
[MidLifeXis]: corelist Typo. Wow. Time to go, fingers are malfunctioning.
[marioroy]: Thanks MidLifeXis. Leaned another thing about Perl. Wow.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2017-05-24 17:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?