From e0d70a91a04b942980ab06bc471d2b5b65952459 Mon Sep 17 00:00:00 2001
From: Andrew Dunstan <andrew@dunslane.net>
Date: Thu, 2 Feb 2023 08:54:38 -0500
Subject: [PATCH] Document installing perltidy with cpanm

Installing with plain cpan failed for me recently, as the archive it
searched has been purged of old releases. However, you can give cpanm a
complete URL to the exact version you want to install, so document using
that.
---
 src/tools/pgindent/README | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/tools/pgindent/README b/src/tools/pgindent/README
index 103970c104..ea41aae25d 100644
--- a/src/tools/pgindent/README
+++ b/src/tools/pgindent/README
@@ -22,6 +22,8 @@ PREREQUISITES:
    ("man perlmodinstall" explains it).  Or, if you have cpan installed,
    this should work:
    cpan SHANCOCK/Perl-Tidy-20170521.tar.gz
+   Or if you have cpanm installed, you can just use:
+   cpanm https://cpan.metacpan.org/authors/id/S/SH/SHANCOCK/Perl-Tidy-20170521.tar.gz
 
 DOING THE INDENT RUN: