The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
It does not address the processing of data done in the template, such as total_price: [% item.quantity * item.unit_price FILTER format ( '%.2f' ) %]. Since the template system is still reading the template file anyway, it could process such directives at that point and save the values for output later. That is, if your template system even allows programatically-generated fields in the template (HTML::Template doesn't in its main implementation). It does not take into account editing of the template by someone not familiar with templates. Shouldn't matter. By the time non-coders see the data, debug mode should have already been shut off. ---- : () { :|:& };: Note: All code is untested, unless otherwise stated In reply to Re: Re: Re: Testing Template, or should I write a diff for TT templates?
by hardburn
|
|