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
In reply to How to link to other directories within Pod by tonyday
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |