Pod::Usage::CGIGenerate usage message for CGI scripts | |
Download |
Pod::Usage::CGI Ranking & Summary
Advertisement
Pod::Usage::CGI Tags
Pod::Usage::CGI Description
Generate usage message for CGI scripts Pod::Usage::CGI is a Perl module that provides pod2usage exit from CGI scripts. You may optionally supply a message. By default the message text is escaped to prevent cross-site scripting injection attacks and placed in a div container of class "message" that you can optionally format with a CSS. You can use the raw_message directive if you want to write HTML out into the page and manage your own escaping.The module works fine under Apache::Registry but will not work in any environments where $0 is not defined.SYNOPSIS use CGI; use Pod::Usage::CGI; #Message is HTML-escaped my $necessary = CGI::param(foo) || pod2usage(message => "you forgot >>foobar< /b >"); Requirements: · Perl
Pod::Usage::CGI Related Software