The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME
cpan-get - Tool to fetch module from CPAN archive.
SYNOPSIS
cpan-get [-f] [-h] [-o out_dir] [--version] module_name[module_version]
DESCRIPTION
Vision of this module is:
* intuitive name for script which fetching module from CPAN
* intuitive caching mechanism (switch for source)
* simple dependencies to modules, which doing one thing (not CPAN module) SIC!
* testable and tested distribution
ARGUMENTS
* "-f"
Force download and rewrite of existing file.
* "-h"
Print help.
* "-o out_dir"
Output directory.
Default value is actual directory.
* "--version"
Print version of script.
* "module_name"
Perl module name.
e.g. App::Pod::Example
* "module_version"
Perl module version. There are some posibilities how to define:
@module_version (e.g. @1.23)
- Define exact module version.
~module_version (e.g. ~1.23)
- Define version and later.
~"== module_version" (e.g. ~"== 1.23")
- Define exact module version.
~">= module_version_min, < module_version_max" (e.g. ~">= 1.23, < 2.00")
- Define limit. (e.g. last version in 1.xx branch)
EXAMPLE
cpan-get App::Pod::Example
SEE ALSO
cpan
easily interact with CPAN from the command line
"cpan -g App::Pod::Example"
cpanp
The CPANPLUS launcher
"cpanp d --fetchdir=. App::Pod::Example"
cpanget
Shell tool in cpanspec project.
"cpanget App::Pod::Example"
cpanspec
Generate a spec file for a CPAN module
Unofficial version of cpanspec from
"cpanspec -D App::Pod::Example"
sourcepan
fetch source archives from CPAN
"sourcepan --git App::Pod::Example"
REPOSITORY
AUTHOR
Michal Josef Špaček <mailto:skim@cpan.org>
ACKNOWLEDGMENTS
Paul Evans for notes about usage.
LICENSE AND COPYRIGHT
© 2021-2025 Michal Josef Špaček
BSD 2-Clause License
VERSION
0.14