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.

Thanks

Johan Vromans <mailto:jvrom...@squirrel.nl>
Sunday, October 29, 2017 1:09 PM
On Sun, 29 Oct 2017 19:21:48 +0700, "Chakkit Ngamsom" <chak...@ibiz.co.th>

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
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates
Chakkit Ngamsom <mailto:chak...@ibiz.co.th>
Sunday, October 29, 2017 7:21 AM

Hi,

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/Provider.pm line 572.

[warn] compiled template : Can't locate tmp/ttc/view/dist/layouts/main.tt.ttc 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/Provider.pm 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.

Regards,

--

Chakkit Ngamsom

_______________________________________________
templates mailing list
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates

_______________________________________________
templates mailing list
templates@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/templates

Reply via email to