Perl Monk, Perl Meditation | |
PerlMonks |
Re: The fine line between control and display logicby perrin (Chancellor) |
on Jan 31, 2006 at 15:55 UTC ( [id://526779]=note: print w/replies, xml ) | Need Help?? |
I wouldn't send these to different templates, but I would move the comparison out of the template. I'd replace these age comparisons with booleans, and do the actual age checking in the controller.
In Section
Meditations
|
|