NAME

Graph::Template::Element::Var

PURPOSE

To provide parameter substitution.

NODE NAME

VAR

INHERITANCE

Graph::Template::Element

ATTRIBUTES

  • NAME

    This is the name of the parameter to substitute here.

CHILDREN

None

EFFECTS

None

DEPENDENCIES

None

USAGE

This is used exactly like HTML::Template's TMPL_VAR. There is one exception - since you can have variable names inside the parameters, you can do something like:

<loop name="LOOPY">

<datapoint><var name="$SomeParam"/></datapoint>

</loop>

Where the actual name to be substituted is, itself, a parameter.

AUTHOR

Rob Kinyon (rkinyon@columbus.rr.com)

SEE ALSO

CELL

1 POD Error

The following errors were encountered while parsing the POD:

Around line 41:

=back doesn't take any parameters, but you said =back 4