withPerlbrewEnvironment
Method
interface PerlAppResource { // ... omitted for brevity withPerlbrewEnvironment( version: string, perlbrewRoot?: string): PerlAppResource;}Signature
method
withPerlbrewEnvironmentbuilderConfigures 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): PerlAppResourceParameters
versionstringperlbrewRootstringoptionalReturns
PerlAppResourceApplies to
This method applies to the following types: