Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: Undef value in Template Toolkit

by Anonymous Monk
on Aug 20, 2019 at 19:36 UTC ( #11104755=note: print w/replies, xml ) Need Help??


in reply to Re^3: Undef value in Template Toolkit
in thread Undef value in Template Toolkit

I am generally uncomfortable with "program logic in a template," because that's not where I expect to find it.

Replies are listed 'Best First'.
Re^5: Undef value in Template Toolkit
by DreamT (Pilgrim) on Aug 21, 2019 at 07:08 UTC
    In general, I agree. But for this case (a simple field mapper, see my other reply in this thread) it felt like a good idea. (Maybe there are better alternatives than TT though...)
Re^5: Undef value in Template Toolkit
by Anonymous Monk on Aug 21, 2019 at 16:54 UTC

    You are generally uncomfortable with logic. And programming.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2019-09-22 19:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (273 votes). Check out past polls.

    Notices?