Skip to content
Docs Try Aspire
Docs Try

withPerlbrewEnvironment

Method
📦 CommunityToolkit.Aspire.Hosting.Perl v13.4.0
interface PerlAppResource {
// ... omitted for brevity
withPerlbrewEnvironment(
version: string,
perlbrewRoot?: string): PerlAppResource;
}

Signature

method withPerlbrewEnvironment builder
Configures the Perl application to use a specific perlbrew-managed Perl version. This resolves the Perl executable from the perlbrew installation and updates the resource's command and environment variables so that all subsequent operations use the specified Perl version.
withPerlbrewEnvironment(
version: string,
perlbrewRoot?: string): PerlAppResource
version string
perlbrewRoot string optional
PerlAppResource

Applies to

This method applies to the following types: