cpanfile-dump
format for describing CPAN dependencies of Perl applications
Install
- All systems
-
curl cmd.cat/cpanfile-dump.sh
- Debian
-
apt-get install libmodule-cpanfile-perl
- Ubuntu
-
apt-get install libmodule-cpanfile-perl
- Kali Linux
-
apt-get install libmodule-cpanfile-perl
- Fedora
-
dnf install perl-Module-CPANfile
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install libmodule-cpanfile-perl
- Raspbian
-
apt-get install libmodule-cpanfile-perl
- Dockerfile
- dockerfile.run/cpanfile-dump
libmodule-cpanfile-perl
format for describing CPAN dependencies of Perl applications
Module::CPANfile is a tool to handle cpanfile format to load application specific dependencies, not just for CPAN distributions. `cpanfile` describes CPAN dependencies required to execute associated Perl code. Place the `cpanfile` in the root of the directory containing the associated code. For instance, in a Catalyst application, place the `cpanfile` in the same directory as `myapp.conf`. Tools supporting `cpanfile` format (e.g. cpanm and carton) will automatically detect the file and install dependencies for the code to run.