<% if($some_condition) { %> Some text <% } elsif($some_other_condition) { %> Some other text <% } else { %> Yet more text <% } %> #### <% for ( @names ) { >> >> >> } %>
$_
##
## % for ( @names ) { % }
<% $_ %>
<%doc> This is table.mas ----------------------------------- # now to assign this HTML to a variable: my $html = $m->scomp('table.mas');