Is there any TT patch to address that problem? I am sitting on an older version of perl and haven't updated for awhile for fear of breaking by websites.


Johan Vromans <>
Sunday, October 29, 2017 1:09 PM
On Sun, 29 Oct 2017 19:21:48 +0700, "Chakkit Ngamsom" <>

As of Perl 5.26, the current directory ( '.' ) is no longer in @INC. This
removal has caused many problems in many tools and programs.

There are many discussions and workaround, please use google.

-- Johan

templates mailing list
Chakkit Ngamsom <>
Sunday, October 29, 2017 7:21 AM


In Perl 5.26.1 I’ve got the below warning:

[warn] Use of uninitialized value $compiled in concatenation (.) or string at /Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/darwin-thread-multi-2level/Template/ line 572.

[warn] compiled template : Can't locate tmp/ttc/view/dist/layouts/ in @INC (@INC contains: /Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/darwin-thread-multi-2level /Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1 /Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1/darwin-thread-multi-2level /Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1) at /Users/lynx/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/darwin-thread-multi-2level/Template/ line 571.

My app is running with Catalyst 5.90115 and Template Tookit 2.27 on macOS 10.12.6.

I switched to Perl 5.24.3 and same Template Toolkit version via perlbrew and no errors there.

Note that the app can render as usual but just the warning messages in log.

It logged every time each file is rendered.



Chakkit Ngamsom

templates mailing list

templates mailing list

Reply via email to