> mkdir tt_c: Permission denied at
> /Library/Perl/5.8.4/darwin-2level/Template/Provider.pm line 398
>
> I have:
>
> my $tt = Template->new({
> INCLUDE_PATH => 'tt/:lib/',
> COMPILE_DIR => 'tt_c/',
> COMPILE_EXT => '.ttc',
> });
You probably don't want TT creating the directory for you. Creating the
directory on the filesystem first, then give TT an absolute path to it.
So, if you want your compiled templates stored in '/mydir/tt_c', use
this:
my $tt = Template->new({
INCLUDE_PATH => 'tt/:lib/',
COMPILE_DIR => '/mydir/tt_c/',
COMPILE_EXT => '.ttc',
});
Then the templates that are found under 'tt/' will be stored in
'/mydir/tt_c/tt/', etc.
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates