Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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?
[Corion]: Ah. The magic invocation is set PERL5OPT=-M-lib=. (equivalent of no lib '.';
[Corion]: )
[Corion]: dazz: BTW, the following should work (no Image::Magick installed, so untested): open(my $fh, '<', \$jpegbuffer); $image->Read(file= > $fh);

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2017-03-27 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (317 votes). Check out past polls.