pgsql: Avoid criticizable perl code

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Avoid criticizable perl code
Дата
Msg-id E1paE2r-002frd-85@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Run pgindent on libpq's fe-auth.c, fe-auth-scram.c and fe-connec
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: 001_libpq_pipeline.pl: use Test::Differences if available