[Templates] tt annoyances
Mark D. Anderson
mda@discerning.com
Fri, 10 Oct 2003 14:54:28 -0700
Andy Wardley wrote:
>>Keep in mind this is with the best of intentions;
>
> Understood. For what it's worth, your critiscism is both constructive
> and fair, and I'm glad that you took the time to do it.
And I'm glad to see that Buddha is not a Buddhist, as it were.
One of the detractors from some mini-language template systems
is the mailing list vitriol that ensues when someone
suggests features.
For example, in one well-known such java-based system,
if you want to add integers, that is fine, but if
you want to add floating point numbers, then you are a benighted
fool who doesn't understand presentation abstraction and the MVC
paradigm.....
btw, I just discovered that while this works:
[% people.exists('noone')%]
for simple hashes when 'noone' is not a member and DEBUG=undef,
it does not work with tied hashes in the same circumstance.
For tied hashes, you get the usual fatal undef error.
At least, for the DBI plugin. There are too many layers involved
for me to quickly surmise why this might be.
-mda