Josh Rosenbaum wrote:
> Mark Schoonover wrote:
>> Thanks for reading. Rather new to tt2, but am making progress. On my
>> first try to call my template, I'm getting the following error:
>> 
>> No such pseudo-hash field "template" at
>> /usr/lib/perl5/vendor_perl/5.8.6/i686-linux/Template/Service.pm line
>> 79. 
> 
> Hi Mark,
> 
> Can you post the code your using to create the template object as
> well as process the template? 
> 
> Looking at the Service.pm code, this may be related to the parameters
> you are passing the process method. You might want to check those out
> with the TT documentation.  
> 
> -- Josh

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.

Mark

        

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

Reply via email to