CPAN
cpan.org
- Free plan
- Windows
- macOS
- Linux
- Web
What CPAN is
CPAN is an archive of Perl software and documentation, with ways to find, download, and install modules. Its homepage lists 33,464,960 modules in 47,830 distributions from 14,750 authors, and the archive has been online since October 1995. Users can search through MetaCPAN or browse modules, authors, and recent uploads. Modules can be installed with CPAN.pm, and manual installation instructions are also available. Dependencies may require other modules, a particular version, or a C compiler. Authors submit uploads through PAUSE, which inspects, validates, and indexes them before they reach CPAN and its mirrors. For existing namespaces, only the owner or an authorized maintainer can have uploads indexed. PAUSE documentation says modules are tested across dozens of architectures by CPAN Testers. The site also provides Perl source archives and instructions for compiling and installing Perl. Its Ports page lists support for more than 100 platforms, including Windows, macOS, and Linux. CPAN is free and backed by a CDN. Its FAQ says it handles problems related to CPAN itself, not debugging users' code.
Who it suits
CPAN suits Perl developers looking for modules, documentation, or Perl source archives. It can also help authors distribute modules through PAUSE, though dependency requirements may complicate installation.
Good to know, and what to watch
- Free archive of Perl software and documentation.
- Search through MetaCPAN or browse recent uploads.
- Modules can be installed with CPAN.pm or manually.
- PAUSE indexes uploads and controls existing namespaces.
- Perl support spans more than 100 platforms.
- Some modules require a specific version or C compiler.
- CPAN's FAQ excludes debugging users' code.
- Existing namespaces require authorization for indexed uploads.
Plans
Every plan and priceCPAN
Free plan
The verdict
CPAN brings module discovery, installation information, and Perl source downloads together in one archive. Check module dependencies before installation, and use its support channels for CPAN-related issues rather than code debugging.
What the maker publishes
- Archive size
- The homepage states that CPAN contains 33,464,960 Perl modules in 47,830 distributions by 14,750 authors. source
- Contributor access
- Registered PAUSE developers receive password-protected write access to their CPAN author directory. source
- Dependencies
- Modules can depend on other modules, and some require a specific version or a C compiler. source
- Distribution workflow
- Authors upload modules to PAUSE, which inspects, validates, and indexes uploads before they propagate to CPAN and mirrors. source
- Find modules
- The site links to MetaCPAN for searching and lists ways to browse modules, authors, and recent uploads. source
- History
- The archive has been online since October 1995. source
- Install modules
- Perl modules can be downloaded and installed using the CPAN.pm tool, with instructions also available for manual installation. source
- Mirrors and CDN
- The mirror page says CPAN is backed by a CDN and users can point at www.cpan.org for access. source
- Namespace controls
- PAUSE checks package namespaces and only indexes uploads from the owner or an authorized maintainer for existing namespaces. source
- Platform support
- The Ports page says Perl supports over 100 platforms and lists Windows, macOS, Linux, and other operating systems. source
- Source downloads
- The source page provides Perl source archives and instructions for compiling and installing Perl. source
- Support
- The FAQ says CPAN is not a helpdesk for debugging users’ code, but handles questions and problems related directly to CPAN’s operation. source
- Testing
- The PAUSE documentation says uploaded modules are tested across dozens of architectures by CPAN Testers. source
- What it is
- CPAN is a large collection of Perl software and documentation. source
Checked against the maker's pages on 4 Oct 2026.