PerlAppResource.withPerlbrew

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

Signature

methodwithPerlbrewbuilder
Configures the Perl application to use a specific perlbrew-managed Perl version.
withPerlbrew(
version: string,
perlbrewRoot?: string): PerlAppResource
versionstringThe perlbrew version name. Accepts both `"5.38.0"` and `"perl-5.38.0"`.
perlbrewRootstringoptionalOptional explicit path to the perlbrew root directory. If `null`, resolves from the `PERLBREW_ROOT` environment variable, or defaults to `~/perl5/perlbrew`.
PerlAppResource

Defined on

This method is defined on the following type: