Mark Schoonover wrote:
Josh,

Thanks for the quick reply!
Here's how I'm creating the TT object: my $tt2_address = Template->new();

The process call:
$tt2_address->process('addresses.tt', [EMAIL PROTECTED], 
$tt2_addressesExportFile)
    or die $tt2_address->error;

        I'm still going through the docs, and am now reading the Badger
book.

Hi Mark,

The documentation online is pretty good, here's the link for how to call 
process:
http://template-toolkit.org/docs/default/Manual/Intro.html

Your second param should be a hash ref, not an array ref. You might try something 
like {addresses => [EMAIL PROTECTED] instead.

Also, your third parameter should probably be a ref if you are trying to 
capture output. ie: \$tt2_addressesExportFile

-- Josh

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

Reply via email to