[Templates] Chomp Directive?
Randal L. Schwartz
merlyn@stonehenge.com
Thu, 22 Mar 2007 11:41:58 -0700
>>>>> "Josh" == Josh Rosenbaum <josh@infogears.com> writes:
Josh> It would be nice to have a tag to control the chomping method in TT similar to
Josh> the TAGS directive. (ie: [% TAGS <! !> %])
Josh> I'm thinking:
Josh> [% PRE_CHOMP CHOMP_NONE %]
Josh> [% POST_CHOMP CHOMP_ALL %]
Josh> or maybe:
Josh> [% CHOMP CHOMP_NONE CHOMP_ALL %]
Josh> or:
Josh> [% CHOMP NONE ALL %]
You *do* know about + and - at the beginning and ending right? I've
never wanted or needed more than that.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!