Phoenix.pm: PerlDoc question

Scott Walters scott at illogics.org
Tue Mar 4 03:43:28 CST 2003


Hi folks.

I'm trying to write a program that reads my Wiki source files (each page
is a file, in a very text format, where ASCII formatting conventions
are the mark up language).

I can't get L<> to work. I've read perlpodspec. 

In http://www.perldoc.com/perl5.8.0/pod/perlpodspec.html#About-L%3c...%3e-Codes 
it claims that L<Link Text/Anchor> will display Link Text as a link to Anchor
in the current document, where Anchor is marked up as:

=head2 Anchor 

(or another head, or =item).

Nothing. I get thousands of lines of output like:

/usr/bin/pod2html: perldesignpatterns.pod: cannot resolve L<FlyweightPattern/FlyweightPattern> in paragraph 7. at /usr/share/perl/5.6.1/Pod/Html.pm line 1562.

In the perldesignpatterns.pod, down a ways, is:



=head2 FlyweightPattern



...in a paragraph by itself.


I'm using the pod2html from 5.6.1 to test with. pod2latex works fine, but it doesn't
actually compute anchors, as far as I know, so it really wouldn't care about whether
or not a link target exists.

Other "obvious" permutations of using L<> also end is failure.

Thoughts, suggestions, flames, anyone?

Also, does anyone know what parser is used at perldoc.com that produces such lovely output?

Thanks!

-scott



More information about the Phoenix-pm mailing list