NAME
Kvasir::Rule - Interface for rules
INTERFACE
CLASS METHODS
- new
-
Creates a new instance.
INSTANCE METHODS
- evaluate ( $global, $local )
-
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 Kvasir::Constants.