At present, the Template Toolkit requires Perl 5.005. Efforts will soon be made to support some earlier versions (e.g. 5.004).
The ttree script uses the AppConfig module (version 1.52+) for managing configuration information. This is available from CPAN as
/modules/by-module/AppConfig/AppConfig-<version>.tar.gz /authors/id/ABW/AppConfig-<version>.tar.gz
To install Template, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template
CPAN shell
perl -MCPAN -e shell install Template
For more information on module installation, please visit the detailed CPAN module installation guide.