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:
WHEN
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, <hanenkamp@users.sourceforge.net>
Copyright 2005 Andrew Sterling Hanenkamp. All Rights Reserved.
FleetConf is distributed and licensed under the same terms as Perl itself.
To install FleetConf, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FleetConf
CPAN shell
perl -MCPAN -e shell install FleetConf
For more information on module installation, please visit the detailed CPAN module installation guide.