in reply to Re^2: Can't locate object method "new" via package
in thread Can't locate object method "new" via package

How did you install this module?

  • Comment on Re^3: Can't locate object method "new" via package

Replies are listed 'Best First'.
Re^4:Can't locate object method "new" via package
by Ggavazzo (Novice) on Aug 17, 2020 at 18:29 UTC
    Perl Package Manager

      Could explain the out of date version of the module, from the command prompt type: cpan Set::Similarity::Cosine, of if you have cpanm, cpanm Set::Similarity::Cosine. To avoid future module related problems consider using Strawberry Perl over AS.

        THANK YOU... outdated module ... THANK YOU VERY MUCH. Running Build test t/10_similarity.t .......... ok t/10_similarity_cosine.t ... ok t/10_similarity_dice.t ..... ok t/10_similarity_jaccard.t .. ok t/10_similarity_overlap.t .. ok t/author-pod-syntax.t ...... skipped: these tests are for testing by the author