Template Toolkit’s DEFAULT is not too useful
Quoth the fine manual for Template Toolkit:
The
DEFAULTdirective is similar toSETbut only updates variables that are currently undefined or have no "true" value (in the Perl sense).
Nice. Basically, where SET is like the = operator in Perl, DEFAULT is like the ||= operator. Quite useful! If it were, that is. Because the analogy is only superficially true.