The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Kvasir::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 Kvasir::Constants.