Rob Kinyon > Graph-Template-0.05 > Graph::Template::Container::Scope

Download:
Graph-Template-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Graph::Template::Container::Scope

PURPOSE ^

To provide scoping of parameters for children

NODE NAME ^

SCOPE

INHERITANCE ^

Graph::Template::Container

ATTRIBUTES ^

None

CHILDREN ^

None

EFFECTS ^

None

DEPENDENCIES ^

None

USAGE ^

  <scope param1="value1" param2="value2">

    ... Children here ...

  </scope>

In the above example, the children would all have access to the parameters param1 and param2. This is useful if you have a section of your template that all has the same set of parameter values, but don't have a common parent.

AUTHOR ^

Rob Kinyon (rkinyon@columbus.rr.com)

SEE ALSO ^

syntax highlighting: