At 9:40 AM on 31 May 2010, Andre Luis wrote:

> my $tt = Template->new( { INCLUDE_PATH => "/home/andre_barros/",
> 
>         DEBUG => DEBUG_ALL })
>       or $env->{Logs}->info($!);
> 
> $tt->process('teste.html', $vars);
> 
> the script is dieing when i try my $tt = Template->new( ...
> 
> on my log file i got this :
> Mon May 31 05:09:54 2010 [INFO] : Bad file descriptor

You will probably get a more useful error message if you consult 
Template->error() instead of $!, like so:

my $tt = Template->new( { INCLUDE_PATH => "/home/andre_barros/",
        DEBUG => DEBUG_ALL })
      or $env->{Logs}->info( Template->error() );


-- 

C. Chad Wallace, B.Sc.
The Lodging Company
http://www.lodgingcompany.com/
OpenPGP Public Key ID: 0x262208A0

Attachment: signature.asc
Description: PGP signature

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

Reply via email to