Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Choosing the right module (Judging the Quality of a CPAN module)

by eyepopslikeamosquito (Archbishop)
on Oct 23, 2022 at 00:32 UTC ( [id://11147605]=note: print w/replies, xml ) Need Help??


in reply to Choosing the right module

Thanks for asking this Bod. I will focus on how to generally make choices like these.

Judging the Quality of a CPAN module

Warning signs:

  • Bad reviews
  • Only one release and/or hasn't had releases for many years
  • Its test statistics show a lot of failures
  • Lots of unresolved bugs
  • CPANTS Kwalitee score

Recommended modules:

Discouraged modules:

See Also

Updated: Minor reorganisation of the material in the original post. Added "See Also" section. Added warning re using Acme modules (thanks cavac).

  • Comment on Re: Choosing the right module (Judging the Quality of a CPAN module)

Replies are listed 'Best First'.
Re^2: Choosing the right module
by Bod (Parson) on Oct 23, 2022 at 16:17 UTC
    Thanks for asking this

    You are welcome - I thought you would like the question eyepopslikeamosquito

    Task::Kensho - a list of recommended modules for various tasks

    Thanks!
    I had not come across this module previously.

    Interestingly, it recommends all three of the modules I listed as being good choices for the application. Plus others as I expected.

Re^2: Choosing the right module
by cavac (Parson) on Oct 24, 2022 at 12:46 UTC

    I'd add the whole ACME:: namespace to the list of discouraged modules, too. Older PerlMonks will already know this, i newbie might not.

    And i'd also put up a warning flag around most of the JSON:: modules. They work fine for most stuff, but can be VERY flaky when it comes to nested JSON structures in combination with Unicode/UTF8. (Why would you have nested JSON structures? Because you can, apparently)

    PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP

      I'd add the whole ACME:: namespace to the list of discouraged modules

      Good point! I've updated my response with an Acme link (for Perl users not around in Acme's heyday of the early 2000s) along with a warning:

      it is almost certainly a very silly idea to use an Acme module in production code!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11147605]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found