tonyday has asked for the wisdom of the Perl Monks concerning the following question:
My question is best begun by quoting perlpod about the L<> linking sequence
L<name/ident> item in manual page
L<name/"sec"> section in other manual page ...
(Text can not contain the characters '/' and '|',
and should contain matched '<' or '>')
How then to specify a directory structure for a link?
Specifically, I wanted to be able to link between pod, pl, pm files that were arranged as follows
aproject/code/ascript.pl # all code in one directory aproject/code/modules/amodule.pm # modules in another aproject/docs/anote.pod # general documentation seperated f +rom code
and then I wanted to be able to link within docs/anote.pod (say) as follows
L<../code/ascript.pl> # link in docs/anote.pod to code/ascript.pl
I'm becoming quite fond of using pod, especially given my lack of html experience. This however is a showstopper for me if I can't incorporate directory heirarchies and be able to pod up my general project notes seperately with links to the pl pod.
I have tried the perl2html utility, searched through Pod::Tree::Html and tried the pods2html snippet all to no avail.
The only two clues I have found are examples of link sequences written as
and maybe that produces something different and examples of links writtenL<C<ascript>>
which must somehow give close to what I would like to do given my perl html docs.L<Pod::Tree::Html>
Which (no doubt obvious) points am I missing?
Thanks Tony
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to link to other directories within Pod
by perrin (Chancellor) on Nov 07, 2001 at 11:43 UTC | |
|
(tye)Re: How to link to other directories within Pod
by tye (Sage) on Nov 07, 2001 at 21:24 UTC |