Robert Bohne > Excel-Template-0.34 > Excel::Template::Container::Conditional

Download:
Excel-Template-0.34.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  0
View/Report Bugs
Source  

NAME ^

Excel::Template::Container::Conditional - Excel::Template::Container::Conditional

PURPOSE ^

To provide conditional execution of children nodes

NODE NAME ^

IF

INHERITANCE ^

CONTAINER

ATTRIBUTES ^

CHILDREN ^

None

EFFECTS ^

None

DEPENDENCIES ^

None

USAGE ^

  <if name="__ODD__" is="false">
    ... Children here
  </if>

In the above example, the children will be executed if the value of __ODD__ (which is set by the LOOP node) is false. So, for all even iterations.

AUTHOR ^

Rob Kinyon (rob.kinyon@gmail.com)

SEE ALSO ^

LOOP, VAR

syntax highlighting: