pgsql: Use perl's $/ more idiomatically

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use perl's $/ more idiomatically
Date: 2020-04-13 16:11:28
Message-ID: E1jO1gG-0008Ul-8S@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use perl's $/ more idiomatically

This replaces a few occurrences of ugly code with a more clean and
idiomatic usage. The problem was highlighted by perlcritic, but we're
not enforcing the policy that led to the discovery.

Discussion: https://postgr.es/m/20200412074245.GB623763@rfd.leadboat.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8f00d84afc0dad577b65df5a313e5306cee3d11f

Modified Files
--------------
src/tools/msvc/Install.pm | 5 +----
src/tools/msvc/Project.pm | 10 ++--------
src/tools/win32tzlist.pl | 9 +++++----
3 files changed, 8 insertions(+), 16 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-04-13 21:33:51 Re: pgsql: Use perl warnings pragma consistently
Previous Message Andrew Dunstan 2020-04-13 16:00:19 pgsql: Use perl warnings pragma consistently