WithPerlbrew
Method
func (PerlAppResource) WithPerlbrew( version string, options ...*WithPerlbrewOptions,) PerlAppResourceSignature
method
WithPerlbrew builderConfigures the Perl application to use a specific perlbrew-managed Perl version.
WithPerlbrew( version string, options ...*WithPerlbrewOptions,) PerlAppResourceParameters
versionstringThe perlbrew version name. Accepts both "5.38.0" and "perl-5.38.0" .options...*WithPerlbrewOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithPerlbrewOptions argument.
PerlbrewRoot *stringOptional explicit path to the perlbrew root directory. If null, resolves from the PERLBREW_ROOT environment variable, or defaults to ~/perl5/perlbrew.Returns
PerlAppResource A reference to the I.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: