Skip to main content.
home | support | download

Back to List Archive

Re: Swish.cgi not seeing my template

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Fri Apr 02 2004 - 23:57:44 GMT
On Fri, Apr 02, 2004 at 03:06:22PM -0800, Aaron Bazar wrote:
>  
> I have mine set up with the entire path to the template file. 

With Template Toolkit?  Are you using ABSOLUTE keyword?

moseley@laptop:~$ cat x
use Template;
my $t = Template->new;
$t->process('/home/moseley/t.tt') || die $t->error;

moseley@laptop:~$ perl x
file error - /home/moseley/t.tt: absolute paths are not allowed (set ABSOLUTE option)

-- 
Bill Moseley
moseley@hank.org
Received on Fri Apr 2 15:57:44 2004