Then I'd move all that complex AND logic into Perl where it belongs. There's no reason your security policy should be embedded in your templates!
The security policy shouldn't be; the logic determining what gets displayed where should. That the latter implements a portion of the former is no fault of the templating system - it's a fault of management stupidity, but that's still a reality for too many developers. *cues up "Let My People Go"*
In reply to Re^7: HTML::Template and authenticated sessions
by dragonchild
in thread HTML::Template and authenticated sessions
by ghettofinger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |