From 5f80cd287c29b88fd364634b16c6c155d5617e8c Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Wed, 16 Nov 2022 10:24:37 +0100 Subject: doc: update metacpan.org links to avoid redirects The /release/ links are redirected to /dist/ and /pod/release/ to /release/../view/, so update our links accordingly to avoid 301 redirects. Discussion: https://postgr.es/m/CA672723-BAD2-436E-B6E6-163841E11A1B@yesql.se --- src/test/perl/PostgreSQL/Test/Cluster.pm | 2 +- src/tools/perlcheck/perlcriticrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/test/perl/PostgreSQL/Test/Cluster.pm b/src/test/perl/PostgreSQL/Test/Cluster.pm index c7531c5efb4..b5a24976e7f 100644 --- a/src/test/perl/PostgreSQL/Test/Cluster.pm +++ b/src/test/perl/PostgreSQL/Test/Cluster.pm @@ -1826,7 +1826,7 @@ sub psql # and set the flag. Otherwise, and for any other exception, rethrow. # # For background, see - # https://metacpan.org/pod/release/ETHER/Try-Tiny-0.24/lib/Try/Tiny.pm + # https://metacpan.org/release/ETHER/Try-Tiny-0.24/view/lib/Try/Tiny.pm do { local $@; diff --git a/src/tools/perlcheck/perlcriticrc b/src/tools/perlcheck/perlcriticrc index 9267fb43b27..49ac9ee52b5 100644 --- a/src/tools/perlcheck/perlcriticrc +++ b/src/tools/perlcheck/perlcriticrc @@ -13,7 +13,7 @@ theme = core # print the policy name as well as the normal output verbose = %f: %m at line %l, column %c. %e. ([%p] Severity: %s)\n -# Note: for policy descriptions see https://metacpan.org/release/Perl-Critic +# Note: for policy descriptions see https://metacpan.org/dist/Perl-Critic # allow octal constants with leading zeros -- cgit v1.2.3