From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: Re: pgsql: Clean up Perl code according to perlcritic
Date: Mon, 27 Mar 2017 20:54:47 -0400
Message-ID: <dd153d5b-b676-4f38-4597-ad005c24f2c9@2ndQuadrant.com> (raw)
In-Reply-To: <E1csTgB-0003xZ-3P@gemulon.postgresql.org>
References: <E1csTgB-0003xZ-3P@gemulon.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 03/27/2017 08:23 AM, Peter Eisentraut wrote:
> Clean up Perl code according to perlcritic
>
> Fix all perlcritic warnings of severity level 5, except in
> src/backend/utils/Gen_dummy_probes.pl, which is automatically generated.
>
> Reviewed-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
> Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
This contains at least one non-cosmetic change and the MSVC buildfarm
members have reacted accordingly:
@opts = grep {
- s/\Q$(top_builddir)\E/\"$topdir\"/;
- $_ !~ /\$\(/ && $_ =~ /^--/
+ my $x = $_;
+ $x =~ s/\Q$(top_builddir)\E/\"$topdir\"/;
+ $x !~ /\$\(/ && $x =~ /^--/
cheers
andrew
--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andrew.dunstan@2ndquadrant.com, peter_e@gmx.net
Subject: Re: pgsql: Clean up Perl code according to perlcritic
In-Reply-To: <dd153d5b-b676-4f38-4597-ad005c24f2c9@2ndQuadrant.com>
References: <E1csTgB-0003xZ-3P@gemulon.postgresql.org> <dd153d5b-b676-4f38-4597-ad005c24f2c9@2ndQuadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox