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

Perl Package Manager
  • Comment on Re^4:Can't locate object method "new" via package

Replies are listed 'Best First'.
Re^5: Can't locate object method "new" via package
by marto (Cardinal) on Aug 17, 2020 at 18:40 UTC

    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

        Glad this seems to have resolved the issue, however I'm not convinced the root cause was the version of the module, the constructor for the prior release is the same as the most recent. Perhaps just a PPM packaging issue?