listname = 'an_actual_listname' ; a_number = 42 ; my_hash.$listname.push(a_number)
This doesn't work unless I prime the lists outside the loop with statements like:
my_hash.an_actual_listname = [ ]
I'd like to avoid that if I can, so that I can use the existence or not of the hash keys as an indication of whether any of that class of numbers occurred, instead of iterating checking list sizes.
Is there a neat way to do this?
Thanks, Dave
_______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
