| VS-RuleEngine documentation | Contained in the VS-RuleEngine distribution. |
VS::RuleEngine::Output - Interface for outputs.
Called when a new instance is requested.
Currently not used.
For arguments passed to this method see Arguments in VS::RuleEngine::Constants.
Called after each iteration in the runloop.
For arguments passed to this method see Arguments in VS::RuleEngine::Constants.
Currently not used.
For arguments passed to this method see Arguments in VS::RuleEngine::Constants.
| VS-RuleEngine documentation | Contained in the VS-RuleEngine distribution. |
package VS::RuleEngine::Output; use strict; use warnings; use Carp qw(croak); sub new { my $self = shift; $self = ref $self || $self; croak "new() should not be called as a function" if !$self; croak "Class '$self' does not override new()"; } sub pre_process { my $self = shift; $self = ref $self || $self; croak "pre_process() should not be called as a function" if !$self; croak "Class '$self' does not override pre_process()"; } sub process { my $self = shift; $self = ref $self || $self; croak "process() should not be called as a function" if !$self; croak "Class '$self' does not override process()"; } sub post_process { my $self = shift; $self = ref $self || $self; croak "post_process() should not be called as a function" if !$self; croak "Class '$self' does not override post_process()"; } 1; __END__