http://www.perlmonks.org?node_id=11104755


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.