NAME

Carton::Doc::Check - Check if your build file and local environment are in sync

SYNOPSIS

carton check

DESCRIPTION

This command checks the consisntency between yoru build file and the local environment.

MISSING MODULES

If one of the modules specified in your build file such as Makefile.PL are not found in your local environment, carton check will warn you about this:

$ carton check
Following dependencies are not satisfied. Run `carton install` to install them.
JSON (2.00)

You can run carton install again to reinstall these missing dependencies.

UNUSED MODULES

If one of the modules in the local environment (i.e. local library path) are not specified in your build file, you'll get a warning like this:

$ carton check
Following modules are found in local but couldn't be tracked from your Makefile.PL
CGI.pm-3.55
  FCGI-0.73

This means you probably installed this module in an ad-hoc mode so you have to add it to Makefile.PL, or you originally declared the dependencies but found out that you don't need it, so deleted from your build file. In that case you can uninstall the module with the uninstall command.