withCarton
Method
interface PerlAppResource { // ... omitted for brevity withCarton(): PerlAppResource;}Signature
method
withCarton builder Configures the Perl application to use Carton as its package manager. Carton manages dependencies via `cpanfile` and a lock file (`cpanfile.snapshot`), enabling reproducible builds. Use `WithProjectDependencies``1` to run `carton install` at startup.
withCarton(): PerlAppResourceReturns
PerlAppResource Applies to
This method applies to the following types: