Document installing perltidy with cpanm
authorAndrew Dunstan <andrew@dunslane.net>
Thu, 2 Feb 2023 13:54:38 +0000 (08:54 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 2 Feb 2023 13:54:38 +0000 (08:54 -0500)
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

index 103970c1042d3c4f3e9d45ca3b186fabfdf107ec..ea41aae25dad45e1c068a2633debcdaa896d9d44 100644 (file)
@@ -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: