Re: Perl 5.12 complains about ecpg parser-hacking scripts

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Perl 5.12 complains about ecpg parser-hacking scripts
Дата
Msg-id 29750.1295747315@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Perl 5.12 complains about ecpg parser-hacking scripts  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Perl 5.12 complains about ecpg parser-hacking scripts  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 01/22/2011 06:06 PM, Tom Lane wrote:
>> On Fedora 14 I see these warnings while building ecpg's preproc.y:
>> 
>> Use of assignment to $[ is deprecated at ./parse.pl line 21.
>> Use of assignment to $[ is deprecated at ./check_rules.pl line 18.
>> 
>> Any Perl experts want to make those go away?

> I think these really need to be rewritten from scratch.

I noticed they didn't "use strict" either ... have at it.

> We could probably silence the warnings by putting:
>     use warnings; no warnings qw(deprecate);

Doesn't seem like a step forward.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: pg_test_fsync problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: auto-sizing wal_buffers