i can't install on directadmin error in plugin

i tried to install mod security with comodo rules in CentOS 7 using:

cd /usr/local/directadmin/custombuild
./build update
./build set modsecurity yes
./build set modsecurity_ruleset comodo
./build modsecurity
./build nginx_apache

In DirectAdmin in Comodo WAF 2.24.4 I see this error:

Can’t locate Template.pm in @INC (@INC contains: /usr/local/cwaf/modules/CPAN/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/cwaf/web/cwaf_sharedlib.pl line 4.
BEGIN failed–compilation aborted at /usr/local/cwaf/web/cwaf_sharedlib.pl line 4.
Compilation failed in require at /usr/local/directadmin/plugins/comodo_waf/admin/index.pl line 16.

I already have the Template installed with cpan
Template is up to date (2.29).

Please can you help me?

I can solve this with
yum install perl-Template-Toolkit


I have the same problem and couldn’t solve it. Could someone please help me?

I had this problem again on 2 new servers with Directadmin and this time I couldn’t solve it.
I also need help with this

the issue is currently in the developers’ backlog and no ETA so far.
We suggest downgrading your CWAF plugin to the previous version or reinstall plugin in standalone mode.
You can download previous versions with the link:

where you can replace ‘X’ with the proper numbers.