>>>>> "Clinton" == Clinton Gormley <[EMAIL PROTECTED]> writes:

Clinton> Hiya
Clinton> This works:
Clinton>   output = PROCESS my_block;

Clinton> This doesn't:
Clinton>   data = {
Clinton>     output  => PROCESS my_block,
Clinton>     other   => PROCESS my_other_block
Clinton>   };

Clinton> but instead dies with the error : unexpected token PROCESS

Clinton> Is there any syntax that will allow this, or do I just have to do:

Clinton>   output = PROCESS my_block;
Clinton>   data = {
Clinton>     output  => output,
Clinton>   };

Haven't tested, but I bet this works:

  data = {};
  data.output = PROCESS my_block;
  data.other = PROCESS my_other_block;

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

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

Reply via email to