Karl Williamson <[email protected]> writes:
> I don't understand how things have changed. Please explain how in fact
> they have. My belief is that things haven't changed for a long time
> now, and things continue to work, without complaint. There are no
> tickets against Pod::Simple for any cases of it using its heuristics in
> these situations and getting things wrong.
There were a few things like this that Sean ran across when writing
Pod::Simple and perlpodspec and formalizing POD, which I would classify as
artifacts of the fact that POD started life as underspecified and
ambiguous and defined mostly by its implementations. Folks may also
remember the long back and forth about anchor text in L<>. (In general,
L<> was way more complicated than it looked.)
I think this is one of the cases where we ended up with a cleaner
specification and then an exception for supporting old behavior, but the
old behavior, although formally ambiguous, seems to have not caused enough
heartburn in the past for people to care that much about fixing it. In
this case, I think the most likely problem would be with trying to
generate links in output formats like HTML and having those links go to
the wrong place. But, honestly, the linking strategy for L<> short of a
full URL is kind of an ad hoc mess anyway, and I'm not sure this makes
things a lot worse.
So I'm tentatively on the side of just leaving things alone, but I don't
maintain any of the code that tries to generate links and cares about the
places where this ambiguity might cause problems.
--
#!/usr/bin/perl -- Russ Allbery, Just Another Perl Hacker
$^=q;@!>~|{>krw>yn{u<$$<[~||<Juukn{=,<S~|}<Jwx}qn{<Yn{u<Qjltn{ > 0gFzD gD,
00Fz, 0,,( 0hF 0g)F/=, 0> "L$/GEIFewe{,$/ 0C$~> "@=,m,|,(e 0.), 01,pnn,y{
rw} >;,$0=q,$,,($_=$^)=~y,$/ C-~><@=\n\r,-~$:-u/ #y,d,s,(\$.),$1,gee,print