Ошибки при запуске перл скрипта

Статус
В этой теме нельзя размещать новые ответы.

doxx

|||llll|||||llll|||
Регистрация
18 Фев 2009
Сообщения
1.055
Реакции
212
Подскажите плиз пытаюсь перл скрипт запустить, выдает:

PHP:
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/M
essage.pm line 7.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/M
essage.pm line 7.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/H
eaders.pm line 9.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/H
eaders.pm line 9.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/URI/Es
cape.pm line 152.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/URI/Es
cape.pm line 152.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/R
equest.pm line 7.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/R
equest.pm line 7.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/S
tatus.pm line 14.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/S
tatus.pm line 14.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/R
esponse.pm line 7.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/R
esponse.pm line 7.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/D
ate.pm line 3.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/D
ate.pm line 3.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/LWP/Pr
otocol.pm line 7.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/LWP/Pr
otocol.pm line 7.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/LWP/Us
erAgent.pm line 10.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/LWP/Us
erAgent.pm line 10.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/H
eaders/Util.pm line 6.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/H
eaders/Util.pm line 6.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/C
ookies.pm line 9.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/C
ookies.pm line 9.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/C
ookies/Netscape.pm line 6.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/HTTP/C
ookies/Netscape.pm line 6.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/Encode
/Alias.pm line 5.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/Encode
/Encoding.pm line 4.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/Encode
.pm line 6.
Use of uninitialized value in sprintf at C:/WebServers/usr/local/perl/lib/Encode
.pm line 6.
Encode object version 2.12 does not match bootstrap parameter 0.00 at C:/WebServ
ers/usr/local/perl/lib/XSLoader.pm line 94.
Compilation failed in require at VKontakte.pm line 8.
BEGIN failed--compilation aborted at VKontakte.pm line 8.
Compilation failed in require at s.pl line 4.
BEGIN failed--compilation aborted at s.pl line 4.

установлен денвер с расширенной библиотекой
 
> Use of uninitialized value in sprintf at ... line 7
в функцию sprintf передается не инициализированное значение в файле ... на строке 7
 
7-я строка Message.pm выглядит так:
$VERSION = sprintf("%d.%02d", q$Revision: 1.44 $ =~ /(\d+)\.(\d+)/);
Т.е. не может версию определить корректно.
В остальных предупреждениях аналогичная ситуация.

А по поводу ошибки, из-за которой скрипт не запускается - попробуйте установить ActiveState-версию Perl вместо "денверовской".
 
Статус
В этой теме нельзя размещать новые ответы.
Назад
Сверху