[Templates] how does META work?

Randal L. Schwartz merlyn@stonehenge.com
07 Oct 2003 14:37:03 -0700


>>>>> "Mark" == Mark Anderson <mda@discerning.com> writes:

Mark> So how does META work exactly?

META values are pulled out when the template is compiled, but
before it is executed.

Mark> Is it only constants that can be used for values?

Constant expressions seem to work, if I recall.  But nothing
needing variables.   It can't.  There are no variables at
that point. :)

It's like the BEGIN {} block of Template. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <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!