The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

cpan-get - Tool to fetch module from CPAN archive.

SYNOPSIS

cpan-get [-h] [--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

  • -h

    Print help.
  • --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 Some::Module

cpanp

The CPANPLUS launcher

cpanp d --fetchdir=. Some::Module

cpanget

Shell tool in cpanspec project.

cpanget App::Pod::Example

cpanspec

Generate a spec file for a CPAN module

Unofficial version of cpanspec from https://github.com/contyk/cpanspec.

cpanspec -D App::Pod::Example

sourcepan

fetch source archives from CPAN

sourcepan --git App::Pod::Example

REPOSITORY

https://github.com/michal-josef-spacek/App-CPAN-Get

AUTHOR

Michal Josef Špaček mailto:skim@cpan.org

http://skim.cz

ACKNOWLEDGMENTS

Paul Evans for notes about usage.

LICENSE AND COPYRIGHT

© 2021-2024 Michal Josef Špaček

BSD 2-Clause License

VERSION

0.12