Re: perldoc cgi script

2004-07-29 Thread Smylers
Eric Wilhelm writes:

 This allows you to access the documentation for all installed modules
 and scripts via your browser ...   if anybody knows of similar
 scripts, I would like to hear about them.

Apache::Perldoc does this (though it requires mod_perl, not just a
CGI-enabled web server).

Smylers



Re: perldoc cgi script

2004-07-29 Thread Eric Wilhelm
# The following was supposedly scribed by
# Smylers
# on Thursday 29 July 2004 01:56 am:

 This allows you to access the documentation for all installed modules
 and scripts via your browser ...   if anybody knows of similar
 scripts, I would like to hear about them.

Apache::Perldoc does this (though it requires mod_perl, not just a
CGI-enabled web server).

From reading the Apache::Perldoc source, it is exactly as the documentation 
claims A simple mod_perl handler.

That's essentially what my perldoc was yesterday morning, before I added the 
index generation,  regex name-search and etc.

As Rich says in his documentation a lot of other people have been doing this 
for ages.  If this is the case, why is pod2html being run on a pipe via a 
system command (hey, I do it to.)  Seems that it needs to be properly 
modularized, rather than the current do this front-end:

  use Pod::Html;
  pod2html @ARGV;

Then, maybe a cgi front-end and mod-perl front-end could share the same 
features (and become secure?)

I still haven't figured out where the source to search.cpan.org is.

--Eric
-- 
You can't win. You can't break even. You can't quit.
  --Ginsberg's Restatement of the Three Laws of Thermodynamics