line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package VS::RuleEngine::Action; |
2
|
|
|
|
|
|
|
|
3
|
19
|
|
|
19
|
|
32897
|
use strict; |
|
19
|
|
|
|
|
37
|
|
|
19
|
|
|
|
|
725
|
|
4
|
19
|
|
|
19
|
|
103
|
use warnings; |
|
19
|
|
|
|
|
39
|
|
|
19
|
|
|
|
|
500
|
|
5
|
|
|
|
|
|
|
|
6
|
19
|
|
|
19
|
|
96
|
use Carp qw(croak); |
|
19
|
|
|
|
|
41
|
|
|
19
|
|
|
|
|
4561
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub new { |
9
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
10
|
0
|
|
0
|
|
|
|
$self = ref $self || $self; |
11
|
0
|
0
|
|
|
|
|
croak "new() should not be called as a function" if !$self; |
12
|
0
|
|
|
|
|
|
croak "Class '$self' does not override new()"; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub perform { |
16
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
17
|
0
|
|
0
|
|
|
|
$self = ref $self || $self; |
18
|
0
|
0
|
|
|
|
|
croak "perform() should not be called as a function" if !$self; |
19
|
0
|
|
|
|
|
|
croak "Class '$self' does not override perform()"; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
__END__ |