Skip to content

Conversation

@Grinnz
Copy link
Contributor

@Grinnz Grinnz commented Apr 10, 2025

Also remove the code in autodoc.pl which attempts to create these links.


  • This set of changes does not require a perldelta entry.

@Grinnz
Copy link
Contributor Author

Grinnz commented Apr 10, 2025

podchecker suggests linking to INSTALL which doesn't make sense for the reason this PR exists

push @links, $3 if defined $3;
foreach my $link (@links) {
if ($link eq 'INSTALL') {
s/ \b INSTALL \b /C<L<INSTALL>>/xg;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not turn INSTALL here into L<INSTALL>?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

INSTALL is not a linkable documentation page (installed module, pod, or script), it is a file that comes with the tarball.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or looking at it the other way, L<INSTALL> would be a link to a hypothetical INSTALL.pm module on CPAN. (Would you look at that, https://metacpan.org/pod/INSTALL actually exists.)

Copy link
Contributor Author

@Grinnz Grinnz Apr 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good demonstration that we have no permissions system for documentation names, and that .pod files contained in releases should be namespaced (or written in a format not special cased by Perl tools).


Perl's L<INSTALL> file has been clarified to explicitly state that Perl
Perl's F<INSTALL> file has been clarified to explicitly state that Perl
requires a C89 compliant ANSI C Compiler.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this isn't part of your patch, but Isn't perl C99 now days?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes (partially), but this is perl5122delta, which was released 15 years ago.

Also remove the code in autodoc.pl which attempts to create these links.
@mauke mauke force-pushed the cant-link-to-install branch from fd1e54c to cc1af7b Compare April 18, 2025 04:10
@Leont Leont merged commit 39bf0de into Perl:blead Apr 18, 2025
67 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants