# CPAN

13 Hacker News commenters recommended CPAN and 10 criticized it, November 2025 to November 2026. It was recommended in 6 of 13 months.

**Verdict:** Pioneering Perl module repository that made reusable libraries easy to share, and helped shape package management. Critics say module quality was uneven and dependencies could conflict.

## Why people recommend it

- Pioneering package repository for programming languages (5 comments): "CPAN was legitimately one of the first package managers for a programming language that WORKED." ([source](https://news.ycombinator.com/item?id=46175941)) "The Perl community introduced the world to the first language module repositories via CPAN" ([source](https://news.ycombinator.com/item?id=46177277)) "Package managers are older than some users here. From CPAN/CTAN to ports under BSD's." ([source](https://news.ycombinator.com/item?id=47586235))
- Hugely valuable, considered a godsend (4 comments): "CPAN and similar things like CTAN were simply phenomenal in a way that really is hard to explain today" ([source](https://news.ycombinator.com/item?id=45986824)) "it can't be overstated how revolutionary CPAN was" ([source](https://news.ycombinator.com/item?id=45981070)) "CPAN was considered a godsend for a reason." ([source](https://news.ycombinator.com/item?id=46780105))
- Curated, high-quality module library (2 comments): "the expert community also spent a lot of effort on the AMAZING module library" ([source](https://news.ycombinator.com/item?id=45986115)) "CPAN's repos are highly curated and before PHP and ubiquitoous Python" ([source](https://news.ycombinator.com/item?id=47586264))

## What people warn about

- Hard to install or manage (3 comments): "I found add on packages easier to install than dealing with CPAN" ([source](https://news.ycombinator.com/item?id=46175517)) "I fought cpan for two days trying to get anything to work." ([source](https://news.ycombinator.com/item?id=45986898)) "nonexisting or terrible package managing - CPAN, PEAR" ([source](https://news.ycombinator.com/item?id=48481838))
- Uneven, sometimes low-quality modules (2 comments): "the generally abysmal quality of what was in CPAN compared to what was available as third-party packages for Python" ([source](https://news.ycombinator.com/item?id=46175385)) "they have held back some slop in CPAN" ([source](https://news.ycombinator.com/item?id=48318218))
- Dependencies conflict and confuse users (2 comments): "if you used any CPAN dependencies, you soon had 3 incompatible object systems, 4 type systems, 5 exception systems" ([source](https://news.ycombinator.com/item?id=45985303)) "Perl developers started learning the hard way that CPAN isn't the Perl standard library" ([source](https://news.ycombinator.com/item?id=46371709))

## Alternatives hackers recommend

- [Nixpkgs](https://hackerapproved.com/p/nixpkgs.md): 38 recommend
- [Arch User Repository](https://hackerapproved.com/p/arch-user-repository.md): 34 recommend
- [Arch User Repository](https://hackerapproved.com/p/aur.md): 20 recommend
- [crates.io](https://hackerapproved.com/p/crates-io.md): 17 recommend
- [PyPI](https://hackerapproved.com/p/pypi.md): 16 recommend

## Cite as

Hacker Approved, "CPAN", https://hackerapproved.com/p/cpan/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
