Re: [HACKERS] use strict in all Perl programs

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] use strict in all Perl programs
Дата
Msg-id CAB7nPqRdCyvXzWJ2=RA9p8J=K6zVdLwfZENyk=nbO9ZzgGTD3w@mail.gmail.com
обсуждение исходный текст
Ответ на [HACKERS] use strict in all Perl programs  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: [HACKERS] use strict in all Perl programs  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
On Sat, Dec 31, 2016 at 3:07 PM, Peter Eisentraut
<peter.eisentraut@2ndquadrant.com> wrote:
> Here is a patch to add 'use strict' to all Perl programs (that I could
> find), or move it to the right place where it was already there.  I
> think that is a pretty standard thing to do nowadays.
>
> I tried testing the changes in pgcheckdefines, but it just spits out
> nonsense before and after.

What about adding as well "use warnings"? That's standard in all the TAP tests.
-- 
Michael



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] sequence data type
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: [HACKERS] proposal: session server side variables