logoalt Hacker News

toast0 • today at 5:46 AM • 1 reply • view on HN

CPAN doesn't seem to have this problem. A few dependencies have dependencies, but it doesn't seem to be the same deal where you wanted one thing and that pulls in 7 layers of dependencies.

About half of the things I want from CPAN are available through distribution packages, and things will usually work when I use the distribution packages I can get and then install the rest from CPAN.


Replies

bayindirh • today at 8:52 AM

This is because of a couple of cultural and environmental factors.

First, CPAN is old and is labor of an older generation of programmers who were attentive to that sort of problem. Language being Perl and having the same culture in it helped a lot as well.

Moreover, CPAN is available in distributions, as you say, and no distribution maintainer wants to package and ship a dependency hell, so this is a gentle but firm deterrent as well. Lastly, Perl's standard library is comprehensive for what it does, so it doesn't need leftpad style utilities as external libraries.

➕ show 2 replies