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 1jMbt9-0003OI-3K for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2020 18:26:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jMbt7-0002sy-Ms for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2020 18:26:53 +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 1jMbt6-0002sr-No for pgsql-hackers@lists.postgresql.org; Thu, 09 Apr 2020 18:26:53 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jMbt3-0004og-UX for pgsql-hackers@postgresql.org; Thu, 09 Apr 2020 18:26:51 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 901C85C286C; Thu, 9 Apr 2020 14:26:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 09 Apr 2020 14:26:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=ye1JJGaE+9sj2lrfof38TFsWAcRoyyWykA/OO01dS lI=; b=UqgLP77ITxU4TXB4wb3dupjcb+1WIdQmSCS+Sjrmyam9RxT4XkuFD8zex YQJr3NcnikUc0MP1lKm5MDDBEWz9LTtbDGX2Y666zmawbSG3tqCnov/tDNc3m33S 3yIuD2m4V4vc0ZL5Wly4YF7/n5HQALu/9W4H+Y6js1HRDjr3wdL7ZtBbsQCFKtpp AT4woIR7fWgSbmE7vdmy5Kd3PLonXlZnrQEzNx/RidGpEJLqqnYhYa96kouodYKC NuzhZWS1XdQfTf0vJ6QsB0lSyOexMZLKhfXNqWdyHhgwI/PpbozAvNH2mEeAxv8p UDOeJVzRQjpFX75RYVZPIhSbNUuDQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudelgdduudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhohfkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvdhnug hquhgrughrrghnthdrtghomheqnecuffhomhgrihhnpedvnhguqhhurggurhgrnhhtrdgt ohhmnecukfhppeelfedrvdegvddrvddufedrvdegudenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghuthes vdhnughquhgrughrrghnthdrtghomh X-ME-Proxy: Received: from april.pezone.net (p5df2d5f1.dip0.t-ipconnect.de [93.242.213.241]) by mail.messagingengine.com (Postfix) with ESMTPA id 6AE2F306005E; Thu, 9 Apr 2020 14:26:47 -0400 (EDT) Subject: Re: cleaning perl code To: Robert Haas , Andrew Dunstan References: Cc: PostgreSQL-development From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <053dce96-107b-b73f-fe15-91aaf3c0c3a7@2ndquadrant.com> Date: Thu, 9 Apr 2020 20:26:45 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-04-09 19:47, Robert Haas wrote: > On Thu, Apr 9, 2020 at 11:44 AM Andrew Dunstan > wrote: >> We currently only run perlcritic at severity level 5, which is fairly >> permissive. I'd like to reduce that, ideally to, say, level 3, which is >> what I use for the buildfarm code. >> >> But let's start by going to severity level 4. > > I continue to be skeptical of perlcritic. I think it complains about a > lot of things which don't matter very much. We should consider whether > the effort it takes to keep it warning-clean has proportionate > benefits. Let's see what the patches look like. At least some of the warnings look reasonable, especially in the sense that they are things casual Perl programmers might accidentally do wrong. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services