Template-Toolkit seems to want to always interpolate undef to the empty string. So a template like this:
Result is [% some_object.some_method (1, undef, 2) %]
or this:
Result is [% ttvar %]
[% some_object.some_method (1, ttvar, 2) %]
produces a call to Perl like:
some_object->some_method (1, '', 2)
when what I want is:
some_object->some_method (1, undef, 2)
Is there any way to pass undef instead of an empty string?