Syntax::ASP(3pm)
π NAME π
okay so bestie, this is Embperl::Syntax::ASP β the ASP syntax module for Embperl. that's it, that's the name, slay.
β¨ SYNOPSIS β¨
like, here's the whole vibe in one look:
[$syntax ASP $]
<% $a = 1 ; %>
<table>
<% foreach (1..5) { %>
<tr>
<td><%= $_ %></td>
<td><%= $a += 2 %></td>
</tr>
<% } %>
</table>
no cap, that's a whole loop living inside your HTML. iconic behaviour honestly. π¦
πΈ DESCRIPTION πΈ
so the tea is: this module adds the ASP syntax to Embperl. when you pick ASP as your syntax, Embperl suddenly understands these two tags, and only these two:
<% %>β between<%and%>you can drop any Perl code that should be executed. go off, run your code, live your truth. π<%= %>β between<%=and%>you put a valid Perl expression, and the result of that expression gets inserted instead of the whole<%= %>block. it's giving "print but cuter". β¨
that's literally it, bestie. two tags. main character energy only. π
π«Ά Author π«Ά
Gerald Richter <richter at embperl dot org> β the loml who wrote this, we stan. π
π See Also π
Embperl::Syntaxβ go read it, iykyk. π
and that's the whole page!! this was perl v5.34.0, dated 2022-02-06, and it lives under Syntax::ASP(3pm). mwah, bye bestie ππ§π
π¦ where this page comes from
- ubuntu jammy: libembperl-perl 2.5.0-16build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms