http://my.server.com/perldoc.pl?mod=DBIand have my CGI script search the @INC array for DBI.pm or DBI.pod - when it finds one it would invoke 'pod2html /path/to/DBI.pm' and spew the output to the browser.
Seems simple in concept, but it's not working, and I'm guessing that I'm missing something simple. Here's the code:
#!C:\Perl\bin
use strict;
use CGI;
my $q = new CGI;
my $module = $q->param('mod');
if (not defined($module)) {
print <
Perldoc - No module specified!!
Perldoc Error - No module specified!!