No, the links are the same but the display will usually be different.

See the line after your quote below which talks about "inferred
link-text".  The version with a | is explicitly requesting an empty link
text while the version without gets the default link text.

A bit farther down in perlpodspec we have :

  Pod processors must now treat "text|"-less links as follows:
    L<name> => L<name|name>

So L<Time::HiRes> gets expanded to L<Time::HiRes|Time::HiRes> inside the
processor.


If you have other POD (or POD Processing) questions the pod-people list
is probably a better place to talk about it.

dc

On Wed, Feb 06, 2008 at 05:59:33PM +0900, YAMASHINA Hio wrote:
> 
> That was my mistake, thank you.
> 
> But "About L<...> Codes" in perlpodsec says:
> 
>   The link-text. If there is none, this must be undef. (E.g., in
>   "L<Perl Functions|perlfunc>", the link-text is "Perl Functions". In
>   "L<Time::HiRes>" and even "L<|Time::HiRes>", there is no link text.
>   Note that link text may contain formatting.)
> 
>   
> http://search.cpan.org/~rgarcia/perl-5.10.0/pod/perlpodspec.pod#About_L<...>_Codes
> 
> Should "L<|Time::HiRes>" be treated as same as "L<Time::HiRes>"?
> 

Reply via email to