diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2018-05-07 15:21:00 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2018-05-07 15:35:32 -0400 |
commit | d2c1512ac48c1c25dfec07d341e9b74e57f6fbc4 (patch) | |
tree | 934533e73b01864633fcfa2e4c0eb80bce63026e /src/pl/plperl/plc_perlboot.pl | |
parent | 17551f1a21fa8e70aa0bca1153de03460742565c (diff) |
Clean up some perlcritic warnings
In Catalog.pm, mark eval of a string instead of a block as allowed.
Disallow perlcritic completely in Gen_dummy_probes.pl, as it's
generated code.
Protect a couple of lines in plperl code from perltidy, so that the
annotation for perlcritic stays on the same line as the construct it
would otherwise object to.
Diffstat (limited to 'src/pl/plperl/plc_perlboot.pl')
-rw-r--r-- | src/pl/plperl/plc_perlboot.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pl/plperl/plc_perlboot.pl b/src/pl/plperl/plc_perlboot.pl index ff059648696..05334a662d3 100644 --- a/src/pl/plperl/plc_perlboot.pl +++ b/src/pl/plperl/plc_perlboot.pl @@ -51,9 +51,9 @@ sub ::encode_array_constructor } { - - package PostgreSQL::InServer - ; ## no critic (RequireFilenameMatchesPackage); +#<<< protect next line from perltidy so perlcritic annotation works + package PostgreSQL::InServer; ## no critic (RequireFilenameMatchesPackage) +#>>> use strict; use warnings; |