blib/lib/Data/TagDB/Interface/Plugin.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 29 CC 1 SCAR 6.9
CC
1
Cov
0%
plugin_attach
2.0
import
2.0
BEGIN
2.0
CRAP 2.0
1 # Copyright (c) 2026 Philipp Schafft
2  
3 # licensed under Artistic License 2.0 (see LICENSE file)
4  
5 # ABSTRACT: Work with Tag databases, plugin base package
6  
7 package Data::TagDB::Interface::Plugin;
8  
9 use v5.10;
10 use strict;
11 use warnings;
12  
13 use parent ();
14  
15 our $VERSION = v0.16;
16  
17 our %_known_plugins;
18  
19  
20  
21 sub plugin_attach {
22 my ($pkg, $db, $conf, %opts) = @_;
23  
24 return {};
25 }
26  
27 # ---- Private helpers ----
28  
29 sub import {
30 my ($caller) = caller(0);
31 $_known_plugins{$caller} = undef;
32 @_ = (parent::, -norequire, __PACKAGE__);
33 goto &parent::import;
34 }
35  
36  
37 1;
38  
39 __END__