in reply to Re: Linking between pods
in thread Linking between pods

With your version (removing the extraneous space in "-- podpath", pod2html runs successfully, but the link still does not work, and the browser also fails to find the CSS.

I suspect that pod2html may be expecting to be on a POSIX-style FS, so it requires absolute paths to start with "/". However, Windows browers apparently cannot evaluate absoulute paths with no drive letter. pod2html may only allow the CSS link to start with C:/ because it doesn't actually need to read the CSS, so allows anything.

Replies are listed 'Best First'.
Re^3: Linking between pods
by crashtest (Curate) on Feb 05, 2005 at 19:58 UTC
    Have you tried the command above (minus the extra space!) with IE? That's all I had at work yesterday, and it looked fine.

    I use Firefox at home as well though, and since nobody can be expected to make do with IE if given a choice, I fiddled some more with pod2html (following BrentDax suggestion with the "c|").

    1.) To get the stylesheet to link correctly, try the following option (I'm assuming you installed your ActiveState Perl to C:\Programs\Perl):
    --css="file://c|/Programs/Perl/html/Active.css"

    2.) As for the links to perldocs, the "--htmlroot" option allows you to prepend what you need to the links. In combination with --podpath and --podroot, try:
    --podroot="/" --podpath="Programs/Perl/html" --htmlroot="file://c|"