Seems the module docs are incorrect. This seems to work for me:

Sorry for the delay :)

pod2html("d:\\perl\\site\\lib\\$pmfile",
   "--title=$pmfile pod2html",
   '--backlink=Back to Top',
   '--css=http://search.cpan.org/s/style.css',
   "--cachedir=c:\\temp",
);

That is it seems the first parameter seems to be the file to process not the 'pod2html' constant as it seems from the docs.

As you can see I had to specify the --cachedir as well since the script tries to create some files and it did not have write perms to current directory.

Yep that did it! Thanks :)

This way it works, what I do not understand is that if I run the script from the command line it finishes in under a second, if I start it via web it takes about 20s. GOK.

That is weird, mine finishes the same either way, just not the right goodies :)


Have a good one Jenda!

Lee.M - JupiterHost.Net

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to