The stupid question is the question not asked | |
PerlMonks |
Re: Linking from POD (artificial linkrot, Pod::Simple::XHTML bugs)by Anonymous Monk |
on Apr 29, 2014 at 23:14 UTC ( [id://1084405]=note: print w/replies, xml ) | Need Help?? |
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) 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
In Section
Seekers of Perl Wisdom
|
|