in reply to Linking from POD

Try  L<perlre/(?E<verbar>pattern)> although it doesn't work in my local test (not surprising given the real id generated, see below )

 perl -MPod::Simple::XHTML -e " exit Pod::Simple::XHTML->filter(shift)->any_errata_seen " links.pod > links.html

Apparently Pod::Simple::XHTML is what metacpan uses, so its what needs patching

Some thoughts on that who edits p3rl.org? link fixer idea, pod link anchors mangled (spaces to dashes) · Issue #988 · CPAN-API/metacpan-web · GitHub

FWIW, a desperation move IMHO (since pod should just work, and this isn't guaranteed to be futureproof)

=for html <a href="https://metacpan.org/pod/perlre#pattern1">(?|patter +n)</a> =cut
Turning (?|pattern) into id="pattern1" is stupid PITA , its not future proof

Now if pattern) turned into https://metacpan.org/pod/perlre#pattern1 or whatever the link becomes tomorrow, thus avoiding linkrot, I could live with it

But then again (?|pattern) could disappear tomorrow as an actual linkable target/section/item (=head1...) ... Re: Shortcut for referencing specific sections of CPAN documents

Replies are listed 'Best First'.
Re^2: Linking from POD (artificial linkrot, Pod::Simple::XHTML bugs)
by Anonymous Monk on Apr 29, 2014 at 23:16 UTC