[Templates] basic VARIABLES question
[prev]
[thread]
[next]
[Date index for 2005/01/03]
This is a multi-part message in MIME format.
--------------090005040003070207080408
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Just want to make sure my understanding is right on this,
as I just started using tt recently.
If I do something like ( just hightlighting the relevent points )
$t = new Template( VARIABLES => { blah } );
$t->process( , OTHERBLAH );
does it do:
create template
doing substitutions for blah
process what was left over after blah using OTHERBLAH
so that if i ran
$t->process( , OTHERBLAH1 );
$t->process( , OTHERBLAH2 );
$t->process( , OTHERBLAH3 );
the initial blah variables are only dealt with once?
--------------090005040003070207080408
Content-Type: text/x-vcard; charset=utf-8;
name="sean.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="sean.vcf"
begin:vcard
fn:Sean T. Allen
n:Allen;Sean T.
org:USA Herbals, LLC
email;internet:sean@xxxxxxxxxx.xxx
title:Tech Guru
tel;work:718-388-5424
x-mozilla-html:FALSE
version:2.1
end:vcard
--------------090005040003070207080408--
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
[Templates] basic VARIABLES question
Sean T Allen 19:03 on 03 Jan 2005
|