Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddPerlExecutable

Method
📦 CommunityToolkit.Aspire.Hosting.Perl v13.6.1
func (DistributedApplicationBuilder) AddPerlExecutable(
resourceName string,
appDirectory string,
executablePath string,
) PerlAppResource

Signature

methodAddPerlExecutablebuilder
Adds a Perl executable (compiled binary or PAR-packed application) to the application model. The executable is run directly rather than through the perl interpreter.
AddPerlExecutable(
resourceName string,
appDirectory string,
executablePath string,
) PerlAppResource
resourceNamestringThe name of the resource.
appDirectorystringThe path to the working directory for the application.
executablePathstringThe path to the executable, relative to appDirectory.
PerlAppResource

A reference to the IResourceBuilder.

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

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder