[Templates] RedHat 8.0 Weirdness

Dave Cross dave@dave.org.uk
Wed, 13 Nov 2002 18:54:30 +0000


On Tue, Nov 05, 2002 at 12:45:09PM +0000, Dave Cross (dave@dave.org.uk) wrote:
> Anyone else seen anything like this?
> 
> I have a template (index.html) in ./src and output goes to ./htdocs. My
> .ttreerc looks like this:
> 
> src    = src
> dest   = htdocs
> accept = html$
> verbose
> debug
> 
> Running ttree gives the following output:
> 
> ttree 2.17 (Template Toolkit version 2.08b)
> 
>       Source: src
>  Destination: htdocs
> Include Path: [  ]
>       Ignore: [  ]
>         Copy: [  ]
>       Accept: [ html$ ]
> 
> Template Toolkit configuration:
> 
>   * processing tree: src
>   + index.html
> 
> A file is produced in ./htdocs but it is empty.
> 
> Changing to ./src and running:
> 
> tpage index.html > ../htdocs/index.html
> 
> creates the correct file.
> 
> This only started when I upgraded to RH8.0. I installed TT 2.08b yesterday 
> but it didn't change anything.
> 
> Am I missing something obvious?

If anyone else is seeing something like this. A complete reinstall of
Perl fixed the problem. I don't trust RedHat's default Perl 
installation at all.

Dave...

-- 
  ...she opened strange doors that we'd never close again