On Mon, 26 May 2008, Tom Jefferson wrote:

> I noticed with <% $m->call_next %> I can put spaces in front to preserve 
> my formating.  Is there any reasons not to use <% $m->call_next %> or to 
> prefer the % method?

Because <% %> means "output the return value of this Perl expression", but 
$m->call_next does not usually return anything, so it's confusing. I would 
consider using a substitution tag purely for the side effect bad style.


-dave

/*==========================
VegGuide.Org
Your guide to all that's veg
==========================*/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to