DebugCGI - very simple package to debug CGI writed perl |
DebugCGI - very simple package to debug CGI writed perl
use CGI; use HTML::AsSubs; use DebugCGI;
$query = new CGI;
print "Content-type: text/html\r\n\r\n"; print DebugCGI($query)->as_HTML();
DebugCGI.pm exports just one subroutine DebugCGI. This subroutine is called with just one argument: a 'query' CGI object. It returns an HTML::Element. Its contents is two tables with the values of environnement variables and elements of request.
Copyright 1998 P.Gaborit - EMAC.
Address bug reports and comments to: Paul.Gaborit@enstimac.fr
the HTML::Element manpage, the CGI manpage. (Use perldoc)
DebugCGI - very simple package to debug CGI writed perl |