skazat has asked for the wisdom of the Perl Monks concerning the following question:
In my pod, if I have something like this:
For more information, see L<thisfile.html>
When parsed
(EDIT: I'm currently using the pod2html utility, ala:
, I'll get an error like this:system("pod2html --infile $the_pod_source --outfile $the_pod_source\.h +tml");
cannot resolve L<thisfile.html> in paragraph xxx.
If I set the above to something like:
For more information, see L<http://example.com/thisfile.html>
and, "http://example.com/thisfile.html" exists, it works.
Any way to turn off the "check if it's actually there" test? I've got C<pod2html> in a little makefile - type script, so there's times where it's not going to be around in a URL and may not be around in the environment it's being parsed and created.
Update:
using the pod2html utility, I thought I'd see if passing the, --htmlroot parameter would help things - giving a base to place the relative URL to - no dice.
I guess the question *really* is, how do you pass a relative URL to an HTML document inside an L<> thingy in POD. If you can't, I guess I'm outta luck.
I guess I'll also look at the P6 version of POD and see if there's a way in there for the future. (crosses fingers)
-justin simoni
skazat me
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: POD L<> and relative links?
by brian_d_foy (Abbot) on Oct 19, 2006 at 23:42 UTC | |
by skazat (Chaplain) on Oct 20, 2006 at 00:03 UTC | |
by halley (Prior) on Oct 20, 2006 at 14:16 UTC | |
by skazat (Chaplain) on Oct 23, 2006 at 21:44 UTC | |
|
Re: POD L<> and relative links?
by Joost (Canon) on Oct 19, 2006 at 22:40 UTC | |
by skazat (Chaplain) on Oct 19, 2006 at 23:44 UTC | |
by Joost (Canon) on Oct 20, 2006 at 00:03 UTC | |
by skazat (Chaplain) on Oct 20, 2006 at 00:06 UTC | |
|
Re: POD L<> and relative links?
by Bro. Doug (Monk) on Oct 20, 2006 at 11:21 UTC | |
|
Re: POD L<> and relative links?
by geoffleach (Scribe) on Oct 21, 2006 at 23:16 UTC | |
by skazat (Chaplain) on Oct 23, 2006 at 21:46 UTC | |
|
Re: POD L<> and relative links?
by Anonymous Monk on Oct 19, 2006 at 21:47 UTC | |
by skazat (Chaplain) on Oct 19, 2006 at 23:39 UTC |