On Thu, 4 Jan 2007, Kristopher Yates wrote:

> I've never had trouble installing Mason before, so I have no idea what
> the problem is or how to troubleshoot it.  However, this is my first
> attempt under Apache2.  Below are my HTML source and the Mason error.
> Not sure what to ask.  I just know that very simple code is not
> executing.  Can anyone help figure out the problem?
>
> HTML:
> <html><head><title></title></head>
> <body>
>  <h2>Font sizes:</h2>
>  <% foreach my $i (1..5) { %>
>    <font size="<%= $i %>">Size = <%= $i %></font><br>
>  <% } %>
> </body>
> </html>

Mason syntax is not the same as ASP.

http://www.masonhq.com/docs/manual/Devel.html#inline_perl_sections


-dave

/*===================================================
VegGuide.Org                        www.BookIRead.com
Your guide to all that's veg.       My book blog
===================================================*/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to