pgsql: More fixed for modern perl on back branches

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: More fixed for modern perl on back branches
Date: 2019-02-05 23:36:34
Message-ID: E1grAGY-00082N-UA@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

More fixed for modern perl on back branches

Use "do" instead of "require" for included files, as it doesn't look for
them in the search path but relative to the current working directory.
These changes have already been made to REL_10_STABLE and later, to
satisfy the demands of perlcritic, but need backporting now to earlier
branches.

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7a3763318e06e5add2464008dfb41216653d983d

Modified Files
--------------
src/tools/msvc/Install.pm | 4 ++--
src/tools/msvc/build.pl | 8 ++++----
src/tools/msvc/builddoc.pl | 2 +-
src/tools/msvc/install.pl | 4 ++--
src/tools/msvc/mkvcbuild.pl | 4 ++--
src/tools/msvc/pgbison.pl | 2 +-
src/tools/msvc/pgflex.pl | 2 +-
src/tools/msvc/vcregress.pl | 6 +++---
8 files changed, 16 insertions(+), 16 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2019-02-06 00:36:07 pgsql: Fix included file path for modern perl
Previous Message Andrew Dunstan 2019-02-05 20:19:50 pgsql: Keep perl style checker happy