Why can't I use the Template Toolkit?

I'm trying to use TemplateToolkit instead of a good interpolation of ole 'variables, and my server gives me a lot of grief. Here are the errors I get:

*** 'D:\Inetpub\gic\source\extjs_source.plx' error message at: 2008/09/30 15:27:37 failed to create context: failed to create context: failed to load Template/Stash/XS.pm: Couldn't load Template::Stash::XS 2.20:

Can't load 'D:/Perl/site/lib/auto/Template/Stash/XS/XS.dll' for module Template::Stash::XS: load_file:The specified procedure could not be found at D:/Perl/lib/DynaLoader.pm line 230.  at D:/Perl/site/lib/Template/Stash/XS.pm line 31

BEGIN failed--compilation aborted at D:/Perl/site/lib/Template/Stash/XS.pm line 31. Compilation failed in require at D:/Perl/site/lib/Template/Config.pm line 82.

The platform is Windows Server 2003, and we use ActiveState perl and PPM for IIS packages.

+3
source share
2 answers

I thought about it after a long time. Apparently, the ActiveState people did not check much in the package because it requires Template :: Stash :: XS, but this is not actually available in PPM. To fix this, simply edit the /Config.pm template and change Template :: Stash :: XS to Template :: Stash.

+14
source

, , Template Toolkit Strawberry Perl, Strawberry.

+4

Source: https://habr.com/ru/post/1697771/


All Articles