Barry King > Apache-Wyrd > Apache::Wyrd::Var

Download:
Apache-Wyrd-0.98.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.98   Source  

NAME ^

Apache::Wyrd::Var - pass a variable object into a parent Wyrd

SYNOPSIS ^

    <BASENAME::Var name="my_name" param="my_param"></BASENAME::Var>

provides parent with variable "my_name" with value of the CGI param "my_param"

    <BASENAME::Var name="my_name"></BASENAME::Var>

provides parent with variable "my_name" with value of the CGI param "my_name"

    <BASENAME::Var name="my_name">some_value</BASENAME::Var>

provides parent with variable "my_name" with value of "some_value"

DESCRIPTION ^

Inserts a variable into a Wyrd if that Wyrd implements a set_var method. How the Wyrd implements the method is it's own business (but for Apache::Wyrd::Form objects, it is to set the appropriate value under the variable's name in the _variables hash).

HTML ATTRIBUTES

name

the name of the variable to be set

value

its value

PERL METHODS

(format: (returns) name (accepts))

(scalar) value (void)

returns the value of the variable.

BUGS/CAVEATS/RESERVED METHODS ^

Reserves the _startup and _generate_output methods.

AUTHOR ^

Barry King <wyrd@nospam.wyrdwright.com>

SEE ALSO ^

Apache::Wyrd

General-purpose HTML-embeddable perl object

LICENSE ^

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

See LICENSE under the documentation for Apache::Wyrd.

syntax highlighting: