pgsql: Use perl's $/ more idiomatically - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Use perl's $/ more idiomatically
Date
Msg-id E1jO1gG-0008Ul-8S@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Use perl warnings pragma consistently
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Use perl warnings pragma consistently