ASP syntax module for Embperl
[$syntax ASP $] <% $a = 1 ; %> <table> <% foreach (1..5) { %> <tr> <td><%= $_ %></td> <td><%= $a += 2 %></td> </tr> <% } %> </table>
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.
Gerald Richter <richter@dev.ecos.de>
Embperl::Syntax
To install Embperl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Embperl
CPAN shell
perl -MCPAN -e shell install Embperl
For more information on module installation, please visit the detailed CPAN module installation guide.