Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jNK8p-0003ch-UC for pgsql-hackers@arkaria.postgresql.org; Sat, 11 Apr 2020 17:42:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jNK8o-0005KM-SY for pgsql-hackers@arkaria.postgresql.org; Sat, 11 Apr 2020 17:42:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jNK8o-0005KF-Lt for pgsql-hackers@lists.postgresql.org; Sat, 11 Apr 2020 17:42:02 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jNK8m-0006pP-EM for pgsql-hackers@postgresql.org; Sat, 11 Apr 2020 17:42:01 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 03BHfubQ022263; Sat, 11 Apr 2020 13:41:56 -0400 From: Tom Lane To: Mark Dilger cc: Andrew Dunstan , Noah Misch , PostgreSQL-development Subject: Re: cleaning perl code In-reply-to: <4FFD55FA-0728-4DC3-AF93-0246FE555C10@enterprisedb.com> References: <20200411043014.GA590991@rfd.leadboat.com> <0a4406d5-b428-4831-8ed9-c36764360f57@2ndQuadrant.com> <97813D8D-F185-4998-8CF8-5678746E7DEE@enterprisedb.com> <5b2ae2b0-8b09-d153-275a-24e7b2ac7989@2ndQuadrant.com> <4FFD55FA-0728-4DC3-AF93-0246FE555C10@enterprisedb.com> Comments: In-reply-to Mark Dilger message dated "Sat, 11 Apr 2020 10:27:58 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22261.1586626916.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 11 Apr 2020 13:41:56 -0400 Message-ID: <22262.1586626916@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Mark Dilger writes: > I'm less concerned with which perlcritic features you enable than I am w= ith accidentally submitting perl which looks fine to me but breaks the bui= ld. I mostly use perl from within TAP tests, which I run locally before s= ubmission to the project. Can your changes be integrated into the TAP_TES= TS makefile target so that I get local errors about this stuff and can fix= it before submitting a regression test to -hackers? As far as that goes, I think crake is just running src/tools/perlcheck/pgperlcritic which you can do for yourself as long as you've got perlcritic installed. regards, tom lane