Skip to content
DocsTry Aspire
DocsTry

addPerlScript

Method
📦 CommunityToolkit.Aspire.Hosting.Perl v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addPerlScript(
resourceName: string,
appDirectory: string,
scriptName: string): PerlAppResource;
}

Signature

methodaddPerlScriptbuilder
Adds a Perl script resource (worker, CLI tool, background service) to the application model.
addPerlScript(
resourceName: string,
appDirectory: string,
scriptName: string): PerlAppResource
resourceNamestring
appDirectorystring
scriptNamestring
PerlAppResource

Applies to

This method applies to the following types: