Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithCpanMinus

Method
📦 CommunityToolkit.Aspire.Hosting.Perl v13.6.1
func (PerlAppResource) WithCpanMinus() PerlAppResource

Signature

methodWithCpanMinusbuilder
Configures the Perl application to use cpanm (App::cpanminus) as its package manager instead of the default cpan. Call this before WithPackage to change how packages are installed.
WithCpanMinus() PerlAppResource
PerlAppResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: