Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: The fine line between control and display logic

by perrin (Chancellor)
on Jan 31, 2006 at 15:55 UTC ( [id://526779]=note: print w/replies, xml ) Need Help??


in reply to The fine line between control and display logic

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://526779]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-03-28 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found