---
name: "Embperl::Syntax::ASP"
section: "3pm"
platform: "linux"
package: "libembperl-perl"
version: "2.5.0-17"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/Embperl::Syntax::ASP"
---

# Embperl::Syntax::ASP(3pm)

ASP syntax module for Embperl

## NAME

Embperl::Syntax::ASP - ASP syntax module for Embperl

## SYNOPSIS

```
    [$syntax ASP $]
    <% $a = 1 ; %>
    <table>
        <% foreach (1..5) { %>
            <tr>
                <td><%= $_ %></td>
                <td><%= $a += 2 %></td>
            </tr>
        <% } %>
    </table>
```

## DESCRIPTION

The module add the ASP syntax to Embperl. That mean when you select ASP as syntax, Embperl understand the two following tags:

- \<% %\>

  Between \<% and %\> you can put any Perl code that should be executed.

- \<%= %\>

  Between \<%= and %\> you can place a valid Perl expression and the result of the expression is inserted instead of the \<%= %\> block.

## Author

Gerald Richter \<richter at embperl dot org\>

## See Also

Embperl::Syntax
