Claes Jakobsson > VS-RuleEngine > VS::RuleEngine::Rule

Download:
VS-RuleEngine-0.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

VS::RuleEngine::Rule - Interface for rules.

INTERFACE ^

CLASS METHODS

new

Called when a new instance is requested.

INSTANCE METHODS

evaluate

Evaluates the rule. Must return either KV_MATCH if the rule matched or KV_NO_MATCH if it didn't.

For arguments passed to this method see "Arguments" in VS::RuleEngine::Constants.

syntax highlighting: