syntax error in eRServer.pm line 69

Поиск
Список
Период
Сортировка
От billm@lulu.com (Bill Montgomery)
Тема syntax error in eRServer.pm line 69
Дата
Msg-id 2d7d801f.0309030638.493a792f@posting.google.com
обсуждение исходный текст
Ответы Re: syntax error in eRServer.pm line 69  (Bernd Helmle <mailings@oopsware.de>)
Re: syntax error in eRServer.pm line 69  ("Marc G. Fournier" <scrappy@hub.org>)
Список pgsql-general
I am installing erserver 1.2 right now, and am having a problem with
the ers_addslave program. It uses the eRServer.pm perl module, which
perl is failing to compile. Observe:

[erserver@mybox erserver]$ ers_addslave --slaveserver=myslave
--slavedb=mydb --slaveuser=myuser --slavepass=mypass
String found where operator expected at
/usr/local/erserver/lib/eRServer.pm line 69, near "sprint ",\n""
        (Do you need to predeclare sprint?)
syntax error at /usr/local/erserver/lib/eRServer.pm line 69, near
"sprint ",\n""
Compilation failed in require at /usr/local/erserver/bin/ers_addslave
line 13.
BEGIN failed--compilation aborted at
/usr/local/erserver/bin/ers_addslave line 13.

This is line 69 of my eRServer.pm:

        $table_struct .= sprint ",\n";

It looks like the sprint should simply be an sprintf, but I am
surprised that I found no other mention of this on any of the
comp.databases.postgresql.* groups. Is this a bug? Am I insane?

TIA,

Bill Montgomery

В списке pgsql-general по дате отправления:

Предыдущее
От: Ian Harding
Дата:
Сообщение: Re: Access to an element of array NEW in TCL
Следующее
От: Karel Zak
Дата:
Сообщение: Re: Localization (for dates) Oracle vs. Postgresql