| VS-RuleEngine documentation | Contained in the VS-RuleEngine distribution. |
VS::RuleEngine::Output::Perl - Use a code reference as an output
Creates a new instance. The argument CODE must be a reference to a subroutine - either anoynmous or named.
Not used.
Not used.
Forwards the call to the wrapped subroutine.
| VS-RuleEngine documentation | Contained in the VS-RuleEngine distribution. |
package VS::RuleEngine::Output::Perl; use strict; use warnings; use Carp qw(croak); use base qw(VS::RuleEngine::Cv VS::RuleEngine::Output); sub pre_process { } sub post_process { } sub process { my $self = shift; return $self->($self, @_); } 1; __END__