GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  EXCEL::TEMPLATE::CONTAINER::CONDITIONAL (3)

.ds Aq ’

NAME

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

CONTENTS

PURPOSE

To provide conditional execution of children nodes

NODE NAME

IF

INHERITANCE

CONTAINER

ATTRIBUTES

o NAME

This is the name of the parameter to test. It is resolved like any other parameter name. (q.v. VAR for more info.)

o VALUE

If VALUE is set, then a comparison operation is done. The value of NAME is compared to VALUE using the value of OP.

o OP

If VALUE is set, then this is checked. If it isn’t present, then ’==’ (numeric equality) is assumed. OP must be one of Perl the numeric comparison operators or the string comparison operators. All 6 of each kind is supported.

<B>NoteB>: If you want to use < or <=, you must instead use < or <=. This is to make sure it will parse with XML::Parser. You should not need to use > or >= instead of > and >=, respectively.

o 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.

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
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 EXCEL::TEMPLATE::CONTAINER::CONDITIONAL (3) 2010-06-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.