Apache::Wyrd::Var - pass a variable object into a parent Wyrd
<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"
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).
Apache::Wyrd::Form
the name of the variable to be set
its value
(format: (returns) name (accepts))
value
returns the value of the variable.
Reserves the _startup and _generate_output methods.
Barry King <wyrd@nospam.wyrdwright.com>
General-purpose HTML-embeddable perl object
Copyright 2002-2007 Wyrdwright, Inc. and licensed under the GNU GPL.
See LICENSE under the documentation for Apache::Wyrd.
Apache::Wyrd
To install Apache::Wyrd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::Wyrd
CPAN shell
perl -MCPAN -e shell install Apache::Wyrd
For more information on module installation, please visit the detailed CPAN module installation guide.