Carton::Doc::Check - Check if your cpanfile and local environment are in sync
carton check
This command checks the consistency between your cpanfile, cpanfile.snapshot and the local environment.
cpanfile
cpanfile.snapshot
If one or more of the modules specified in your cpanfile are not found in your snapshot, carton check will warn you about this:
$ carton check Following dependencies are not satisfied. JSON has version 2.51. Needs 2.52 Run `carton install` to install them.
You can run carton install again to reinstall these missing dependencies.
carton install
To install Carton, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Carton
CPAN shell
perl -MCPAN -e shell install Carton
For more information on module installation, please visit the detailed CPAN module installation guide.