Skip to content
Docs Try Aspire
Docs Try

withPackage

Method
📦 CommunityToolkit.Aspire.Hosting.Perl v13.4.0
interface PerlAppResource {
// ... omitted for brevity
withPackage(
packageName: string,
force?: boolean,
skipTest?: boolean): PerlAppResource;
}

Signature

method withPackage builder
Adds a Perl package (module) to be installed before the application starts. Uses the configured package manager: cpan by default, or cpanm if `WithCpanMinus``1` was called.
withPackage(
packageName: string,
force?: boolean,
skipTest?: boolean): PerlAppResource
packageName string
force boolean optional = False
skipTest boolean optional = False
PerlAppResource

Applies to

This method applies to the following types: