Excel::Template::Container::Conditional - Excel::Template::Container::Conditional
To provide conditional execution of children nodes
IF
Excel::Template::Container
NAME
This is the name of the parameter to be testing. It is resolved like any other parameter.
VALUE
If VALUE is set, then a comparison operation is done. The value of NAME is compared to VALUE using the value of OP.
OP
If VALUE is set, then this is checked. If it isn't present, then '==' (numeric equality) is assumed. OP must be one of the numeric comparison operators or the string comparison operators. All 6 of each kind is supported.
IS
If VALUE is not set, then IS is checked. IS is allowed to be either "TRUE" or "FALSE". The boolean value of NAME is checked against IS.
None
<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.
Rob Kinyon (rob.kinyon@gmail.com)
LOOP
1 POD Error
The following errors were encountered while parsing the POD:
=back doesn't take any parameters, but you said =back 4
To install Excel::Template, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Excel::Template
CPAN shell
perl -MCPAN -e shell install Excel::Template
For more information on module installation, please visit the detailed CPAN module installation guide.