# EntrypointType

- Kind: `enum`
- Package: [CommunityToolkit.Aspire.Hosting.Perl](/reference/api/csharp/communitytoolkit.aspire.hosting.perl.md)
- Version: `13.4.0`
- Namespace: `CommunityToolkit.Aspire.Hosting.Perl`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.Perl/EntrypointType.cs)

Defines the type of entrypoint for a Perl application. Supported entrypoint types currently include Script, API, Module, and Executable.

## Definition

```csharp
namespace CommunityToolkit.Aspire.Hosting.Perl;

public enum EntrypointType
```

## Enum Members

| Name | Value | Description |
| --- | --- | --- |
| Executable | 0 | A direct executable file to run (e.g., a PAR-packed binary or compiled Perl application). |
| Script | 1 | A Perl script file to execute directly (e.g., "main.pl", "app.pl"). |
| Module | 2 | A Perl module to run as the main application (e.g., "MyApp::Main"). |
| API | 3 | A Perl API script to listen for HTTP requests. |
