Skip to content
Docs Try Aspire
Docs Try

PerlAppResource.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

Defined on

This method is defined on the following type: