First of all I want to thank you for writing such a versatile template engine. I'm really enthousiastic about it :)
I began using the Template-Toolkit on my own Linux system with perl5 (revision 5 version 8 subversion 6). But when I switched over to a Sun system (production system) I ran into problems with the latest version of TT 2.14 when I tried to compile the modules with perl5 (5.0 patchlevel 5 subversion 3). When I'm trying to 'perl Makefile.PL', I get the following errors:
Bareword "v5" not allowed while "strict subs" in use at lib/Template/Document.pm line 41.
Bareword "v5" not allowed while "strict subs" in use at lib/Template/Document.pm line 45.
BEGIN not safe after errors--compilation aborted at lib/Template/Document.pm line 51.
BEGIN failed--compilation aborted at lib/Template/Provider.pm line 43.
BEGIN failed--compilation aborted at lib/Template.pm line 34.
BEGIN failed--compilation aborted at Makefile.PL line 9.
This has probably something to do with the ancient Perl version I tried to compile it on because 5.00503 doesn't support Unicode. Upgrading the Perl version on the Sun system is unfortunatly no option because the operators want to keep every Perl version on their system equel.
When I compile Template-Toolkit 2.13 on the same Sun system, everything seems to works just fine. I see no compilation errors. In the changelog I've read that Unicode was added to TT 2.14.
Is there a way to compile TT 2.14 and future versions with Perl 5.00503 without having to remove the Unicode part?
Thank you for your time and I hope to hear from you soon.