cpan

cpan: get module information (version, etc...)

$ sudo cpan
cpan[2]> m Crypt::OpenSSL::AES
Reading '/root/.cpan/Metadata'
  Database was generated on Sun, 17 Sep 2023 10:41:02 GMT
Module id = Crypt::OpenSSL::AES
    CPAN_USERID  TTAR (Tolga Tarhan <cpan@ttar.org>)
    CPAN_VERSION 0.08
    CPAN_FILE    T/TI/TIMLEGGE/Crypt-OpenSSL-AES-0.08.tar.gz
    UPLOAD_DATE  2023-09-16
    INST_FILE    (not installed)

You can search a full name:

cpan[3]> m DateTime::Calendar::FrenchRevolutionary
Module id = DateTime::Calendar::FrenchRevolutionary
    CPAN_VERSION 0.17

Or with a regular expression:

Loading internal logger. Log::Log4perl recommended for better logging

$ sudo cpan
Loading internal logger. Log::Log4perl recommended for better logging

On Gentoo, fixed with:

$ sudo emerge -a dev-perl/Log-Log4perl

cpan: Terminal does not support AddHistory: install Term::ReadLine::Perl

$ sudo cpan
Terminal does not support AddHistory.

To fix that, maybe try>  install Term::ReadLine::Perl

On Gentoo, fixed with:

$ sudo emerge -a dev-perl/Term-ReadLine-Perl

cpan

For Gentoo, see:
https://linux.overshoot.tv/app-portage/g-cpan

CPANPLUS::Dist::Gentoo - CPANPLUS backend generating Gentoo ebuilds.
https://www.cpan.org/modules/by-module/CPANPLUS/CPANPLUS-Dist-Gentoo-0.1...

Syndicate content