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

NAME

Text::UberText::Modules::Variables - UberText Variables Modules

SYNOPSIS

 [uber.var name:(fruit) value:(apple)]

 The value of "fruit" is [uber.var name:(fruit)]

 We are resetting "fruit" to [uber.var name:(fruit) value:(pear) print]

DESCRIPTION

The Variables module creates an internal table of variables that can be manipulated within an UberText document. It is also possible to set and retrieve variables directly from the Variables module, or other perl modules.

METHODS

$value=$variable->variable($varname,$value);

Sets the variable $varname to $value. Also returns the current value of $varname.

DOCUMENT COMMANDS

[uber.var name:(varname)]

The name command identifies a variable in the internal table. To change the value of the variable, you need to use the value option. The output from this tag is the value of the variable.

[uber.var name:(varname) value:(value) print]

This is an example of using the name command with the value option. There is no output from this tag unless the print option is also specified in the tag.

AUTHOR

Chris Josephes <cpj1@visi.com>

SEE ALSO

Text::UberText

COPYRIGHT

Copyright 2002, Chris Josephes. All rights reserved. This module is free software. It may be used, redistributed, and/or modified under the same terms as Perl itself. ~