CPANFILE-DUMP(1)
π cpanfile-dump β hey bestie, it's a manpage
Okay so this is cpanfile-dump(1), coming at you from the User Contributed Perl Documentation corner of the world, and it's literally just a little script that goes "here's your prereqs, go off" π
β¨ NAME β¨
cpanfile-dump β dumps the prerequisites out of a cpanfile, no cap π
πΈ SYNOPSIS πΈ
# Install typical required and recommended modules
cpan `cpanfile-dump`
# Skip configures phase
cpan `cpanfile-dump --no-configure`
# Also include develop phase and suggests type
cpan `cpanfile-dump --develop --suggests`
# Include a feature
cpan `cpanfile-dump --with-feature=sqlite`
π¦ DESCRIPTION π¦
So basically this script reads the prereqs out of a cpanfile and dumps a raw list of them straight to standard output. It's giving middleman, and honestly that's the whole point β it's useful for piping them as input into another program that doesn't support reading cpanfile directly, like cpan or cpanp π
By default it prints the configure, build, test and runtime requirements and recommendations. The command line options let you mess with those default choices however you want β main character energy, your call π
This script is distributed with Module::CPANfile since version 1.0002, iykyk β¨
π OPTIONS π
--configure,--build,--test,--runtime,--developβ specify the phase to include or exclude. Defaults to including all of them except--develop, but you can exclude some phases by slapping the--no-prefix on, like--no-configureπ«Ά--requires,--recommends,--suggests,--conflictsβ specify the type to include or exclude. Defaults to including only--requiresand--recommends, but you can exclude some types by using the--no-prefix, like--no-recommendsπΈ
Heads up bestie: specifying --conflicts will turn off all the other types, even if you literally specified them on the command line. It's a my-way-or-the-highway situation π
--with-feature,--with-all-features,--without-featureβ specify features to include in the dump. Both--with-featureand--without-featuremay be used more than once π
cpanfile-dump --with-feature=sqlite
cpanfile-dump --with-all-features --without-feature=yaml
π NOTES π
Not me telling you this for your own good, but: because cpanm supports reading cpanfile directly, instead of piping the output of this program, you're recommended to just use cpanm --installdeps . to install modules from a cpanfile. Slay, less steps π
π AUTHOR π
David Golden β
π§ SEE ALSO π§
Module::CPANfile Β· cpanfile Β· App::mymeta_requires
and that's the whole page, bestie π fr fr β brought to you by perl v5.42.0, dated 2018-04-27, and the letters C, P, A, N. mwah π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Module-CPANfile 1.1004-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms