Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

/var/sites/help-site.com/auto/tmp/CPAN/9677/Embperl-2.3.0/Embperl/Syntax/ASP.pm

/var/sites/help-site.com/auto/tmp/CPAN/9677/Embperl-2.3.0/Embperl/Syntax/ASP.pm



NAME

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@dev.ecos.de>


See Also

Embperl::Syntax

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy