FleetConf::Agent::Parser::Stmt::WHEN - WHEN command
NAME Some-Agent MNEMONIC foo WORKFLOW Null WHEN something = something_else DO # something! END
This command adds the ability to execute a piece of code conditionally.
The BNF for the
WHEN command is:
agent_command +::= when_section when_section ::= when_command agent_command(s) end_command when_command ::= "WHEN" boolean_expression "DO"
These statements are evaluated during every phase of agent execution.
Andrew Sterling Hanenkamp, <firstname.lastname@example.org>
Copyright 2005 Andrew Sterling Hanenkamp. All Rights Reserved.
FleetConf is distributed and licensed under the same terms as Perl itself.