Subject: | podview L<> external vs section |
Date: | Sat, 09 Feb 2013 07:36:40 +1100 |
To: | bug-Prima [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
If a pod document contains a section name which is the same as an
external module name then in podview clicking on an L<Foo> link goes to
the section rather than the module. I hoped L<Foo> would mean a module.
The sample link.pod below shows the problem. The link L<Carp> goes to
the section "Carp" where I hoped for the module Carp.
I believe in the past L<Foo> was allowed to mean an internal link to a
section, the same as L</Foo> has always meant, but that now L<Foo>
should generally be taken to be external and only L</Foo> or L<"Foo">
for internal. The last bullet point of "About L<...> Codes" in
perlpodspec.pod discusses this.
=head1 BLAH
blah blah
=head1 Carp
blah blah
=head1 SEE ALSO
See module L<Carp>.
See section L</Carp>.