PerlAppResource.WithCarton

Method
📦 CommunityToolkit.Aspire.Hosting.Perl v13.6.1
type PerlAppResource interface {
// ... omitted for brevity
WithCarton() PerlAppResource
}

Signature

methodWithCartonbuilder
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 to run carton install at startup.
WithCarton() PerlAppResource
PerlAppResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: