BBC (British Broadcasting Corporation) > Pod-Xhtml > pod2xhtml

Download:
Pod-Xhtml-1.61.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

pod2xhtml - CGI to display POD as XHTML

SYNOPSIS ^

        http://localhost/cgi-bin/pod2xhtml.pl?file=/cgi-bin/pod2xhtml.pl
        http://localhost/cgi-bin/pod2xhtml.pl?module=Pod::Xhtml

DESCRIPTION ^

Displays POD of scripts within the web server's document root and modules within @INC. If you keep your CGIs in a directory parallel to your web content, you can use the $DOCROOT environment variable to allow this script access. For example if your web server layout is:

        /var/wwwroot/www
        /var/wwwroot/cgi-bin

You can add:

        SetEnv DOCROOT /var/wwwroot

to your Apache config to allow the script access to all the files below /var/wwwroot.

CGI PARAMETERS ^

 css - URL of stylesheet to apply
 file - name of file relative to document root
 module - name of module in @INC

VERSION ^

$Revision: 1.8 $ on $Date: 2004/10/22 14:44:05 $ by $Author: simonf $

AUTHOR ^

John Alden <cpan _at_ bbc _dot_ co _dot_ uk>

COPYRIGHT ^

(c) BBC 2004. This program is free software; you can redistribute it and/or modify it under the GNU GPL.

See the file COPYING in this distribution, or http://www.gnu.org/licenses/gpl.txt

syntax highlighting: