On Sun, 6 Aug 2006, Gavin Carr wrote: >>> <% $m->call_next %> >> ^ adds an extra "\n", instead you could use: >> % $m->call_next; > > OK. Happy to save one extra "\n".
I think this is a legitimate criticism. The <% %> tag says evaluates the expression and inlines the result in the text. This makes no sense when calling another component, since the _result_ of evaluating that expression is nothing. Using substitution where you just want Perl is a confusing style. -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