Re: [HACKERS] use strict in all Perl programs - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [HACKERS] use strict in all Perl programs
Date
Msg-id CAB7nPqRdCyvXzWJ2=RA9p8J=K6zVdLwfZENyk=nbO9ZzgGTD3w@mail.gmail.com
Whole thread Raw
In response to [HACKERS] use strict in all Perl programs  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: [HACKERS] use strict in all Perl programs
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] sequence data type
Next
From: Pavel Stehule
Date:
Subject: Re: [HACKERS] proposal: session server side variables