CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Text::Similarity

 



ogit2
Novice

Oct 5, 2017, 7:09 AM

Post #1 of 5 (645 views)
Text::Similarity Can't Post

Hi

We are running Activestate Perl on Windows and need a module that will return whether two strings are similar.

We have tried to download using CPAN String::Similarity but it returns c:\mingw64\bin\dmake.exe not ok. Could this be something to do with 32bit / 64bit ? or is there any other module that will work with our setup?

String:: modules will not compile
Text:: modules seem to compile ok

Thank you


(This post was edited by ogit2 on Oct 5, 2017, 9:03 AM)


Laurent_R
Veteran / Moderator

Oct 5, 2017, 10:22 AM

Post #2 of 5 (636 views)
Re: [ogit2] Text::Similarity [In reply to] Can't Post

Try maybe with Strawberry Perl, if you can. They tend to be more friendly with CPAN installs.


Chris Charley
User

Oct 5, 2017, 11:23 AM

Post #3 of 5 (633 views)
Re: [ogit2] Text::Similarity [In reply to] Can't Post

On my ActiveState, String::Similarity 1.04 can be installed (with ppm, Perl Package Manager).


BillKSmith
Veteran

Oct 5, 2017, 11:40 AM

Post #4 of 5 (633 views)
Re: [ogit2] Text::Similarity [In reply to] Can't Post

When using ActiveState perl, I recommend that you always install modules with the ActiveState utility ppm. Its GUI interface is fast, easy-to-use, and always loads the module in a way that is compatible with your perl. The downside is that not all modules available on CPAN are available via ppm. Your module is available on my ActiveState installation. (Look for 'String~Similiarity' in the GUI interface)

I have taken Laurent's advise and installed only Strawberry on my desktop computer because of the 'missing module' problem. I now also recommend the change to Strawberry. Other than the way you install modules, you rarely notice any difference.
Good Luck,
Bill


ogit2
Novice

Oct 6, 2017, 2:52 AM

Post #5 of 5 (620 views)
Re: [ogit2] Text::Similarity [In reply to] Can't Post

Thank you

ppm worked perfectly. I was not even aware that ppm existed and will use it in future. We will review Strawberry Perl on a test server.


(This post was edited by ogit2 on Oct 6, 2017, 2:54 AM)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives