Wouldn't it be easier to address data validation and use case handling in the pure Perl that calls it rather than in the template?
Two separate issues
The model does its own validation for correctness
The view (template) does its own "validation" ... to ensure correct display of stuff, html, json ... whatever
In reply to Re^2: Template toolkit XSS
by Anonymous Monk
in thread Template toolkit XSS
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |