Search for CHOMP in Template::Manual::Config.

Also see:

http://stackoverflow.com/questions/2148440/bugzilla-templates-whats-the-diff
erence-between-and


On 7/29/11 3:49 PM, "Bill Ward" <[email protected]> wrote:

> If it's used, then the whitespace that follows will not appear in the final
> output.
> 
> On Fri, Jul 29, 2011 at 3:45 PM, Rajeev Prasad
> <[email protected]<mailto:[email protected]>> wrote:
> Hi,
> 
> someone plz help in understanding purpose of minus(-) sign inside the square
> brackets. and how/why to use them? thank you.
> 
> for e.g.:
> 
> [% FOREACH name IN iterate -%]
> [%- name %]
> [%- IF name != iterate.last %] and [% END -%]
> [%- END %]
> 
> 
> _______________________________________________
> templates mailing list
> [email protected]<mailto:[email protected]>
> http://mail.template-toolkit.org/mailman/listinfo/templates
> 
> 
> 
> 
> --
> Check out my LEGO blog at http://www.brickpile.com/
> View my photos at http://flickr.com/photos/billward/
> Follow me at http://twitter.com/williamward


_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to