dbMan/Extension/FallbackNotify.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 4 totaltotal 0.0% 0 / 28 CC 2 SCAR 11.5
CC
2
Cov
0%
handle_action
6.0
IDENTIFICATION
2.0
preference
2.0
CRAP 3.1
1 package DBIx::dbMan::Extension::FallbackNotify;
2  
3 use strict;
4 use base 'DBIx::dbMan::Extension';
5  
6 our $VERSION = '0.01';
7  
8 1;
9  
10 sub IDENTIFICATION { return "000001-000097-000001"; }
11  
12 sub preference { return -99990; }
13  
14 sub known_actions { return [ qw/NOTIFY/ ]; }
15  
16 sub handle_action {
17 my ($obj,%action) = @_;
18  
19 $action{processed} = 1;
20  
21 $action{action} = 'NONE' if $action{action} eq 'NOTIFY';
22  
23 return %action;
24 }