Module::CPANfile - Parse cpanfile
use Module::CPANfile; my $file = Module::CPANfile->load("cpanfile"); my $prereqs = $file->prereqs; # CPAN::Meta::Prereqs object
Module::CPANfile is a tool to handle cpanfile format to load application specific dependencies, not just for CPAN distributions.
Tatsuhiko Miyagawa
cpanfile, CPAN::Meta, CPAN::Meta::Spec
To install Module::CPANfile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::CPANfile
CPAN shell
perl -MCPAN -e shell install Module::CPANfile
For more information on module installation, please visit the detailed CPAN module installation guide.