darren chamberlain wrote:
> Its omission from the docs is accidental.
There is a brief mention in Template::Manual::Variables
You can use Perl's familiar '{' ... '}' construct to
explicitly create a hash and assign it to a variable.
Note that commas are optional between key/value pairs and
'=' can be used in place of '=>'.
[% product = {
id => 'XYZ-2000',
desc => 'Bogon Generator',
price => 666,
}
%]
http://tt2.org/docs/leon/Manual/Variables.html#Hash_Array_References
A
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.ourshack.com/mailman/listinfo/templates