Thread: pgsql: Avoid criticizable perl code

pgsql: Avoid criticizable perl code

From
Alvaro Herrera
Date:
Avoid criticizable perl code

Using `require` / `->import` instead of `use` avoids the use of a
"stringy eval", making for cleaner code that we don't need to silence
perlcritic about.

Per Andrew Dunstan

Discussion: https://postgr.es/m/7cd3bbbd-0216-4436-d571-8f80c9259a07@dunslane.net

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/590a075789b541d5c1a190031fdcf061355bcfbc

Modified Files
--------------
src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)