in reply to Extending the Perl Syntax on PERL + HTML envirionments.

Aside from the fact that its ugly, unintuitive and breaks perl builtins, why not just steal even more from php and simliar things and allow flow control to wrap html? Something like:
<html> <body> <table> <% for( @loop ) { %> <tr><td><% $_ %></td></tr> <% } %> </table> </body> </html>
(Or of course you could use of of the 32 million prebuilt wheels. Of just tell them to use print already. )

Replies are listed 'Best First'.
Re^2: Extending the Perl Syntax on PERL + HTML envirionments.
by gmpassos (Priest) on Aug 05, 2004 at 20:15 UTC
    This kinde of code already exists in the syntax of the template system. But when the developer is inside a CODE BLOCK and want to print some HTML data, the use of quoted strings is not so goo, this is why I'm thinking in this extension of the syntax.

    Graciliano M. P.
    "Creativity is the expression of the liberty".