Dave Howorth wrote:
>   my_hash.$listname.push(a_number)
> 
> This doesn't work...

[...]

> Is there a neat way to do this?

  DEFAULT my_hash.$listname = [ ];
  my_hash.$listname.push(a_number)

The DEFAULT will ensure that you create the list the first time (and only
the first time) it is used.

A


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to