The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Apache::Wyrd::CGISetter - Set values in a Wyrd according to CGI state

SYNOPSIS

        <BASENAME::CGISetter><h1>$:title</h1></BASENAME::CGISetter>

DESCRIPTION

Sets variables in the space it encloses based on CGI params. The variables are denoted by the sequence $:variable_name where the variable_name follows perl rules for variable names.

This module uses the Apache::Wyrd::Interfaces::Setter conventions.

HTML ATTRIBUTES

style

three optional styles are available

style="escape"

substitute HTML-interpretable characters with their entity equivalents

style="query"

Properly quote the values for use in SQL queries

style="clear"

Remove any undefined values, so that there are no remaining $:variable placemarkers.

PERL METHODS

NONE

BUGS/CAVEATS/RESERVED METHODS

Reserves the _format_output method.

Does not handle multiple CGI values, but takes the first handed to it by the Apache::Request->param call.

AUTHOR

Barry King <wyrd@nospam.wyrdwright.com>

SEE ALSO

Apache::Wyrd

General-purpose HTML-embeddable perl object

Apache::Wyrd::Interfaces::Setter

Implementation of a common template format for Wyrds

LICENSE

Copyright 2002-2007 Wyrdwright, Inc. and licensed under the GNU GPL.

See LICENSE under the documentation for Apache::Wyrd.