PERL - Can't locate Template.pm in @INC


Материал из Wiki - Iphoster - 'the best ever support'

Перейти к: навигация, поиск

Самые выгодные сервера? в рунете


PERL - Can't locate Template.pm in @INC

Ошибка:

[Wed Dec 30 13:12:36 2015] [error] [client 7.27.30.4] BEGIN failed--compilation aborted at /home/user/public_html/work.pl line 2., referer: 
[Wed Dec 30 13:12:36 2015] [error] [client 7.27.30.4] Can't locate Template.pm in @INC (@INC contains: /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 /home/user/public_html/work.pl line 2., referer: 


Решение:

# yum install perl-CPAN
# cpan Template
Индекс цитирования