Weaver/Role/Preparer.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Weaver/Role/Plugin.pm ↑ Summary Weaver/Role/Section.pm »
1 package Pod::Weaver::Role::Preparer 4.022;
2 # ABSTRACT: something that mucks about with the input before weaving begins
3  
4 9 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 9 with 'Pod::Weaver::Role::Plugin';
6  
7 9 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 #pod =head1 IMPLEMENTING
10 #pod
11 #pod The Preparer role indicates that a plugin will be used to pre-process the input
12 #pod hashref before weaving begins. The plugin must provide a C<prepare_input>
13 #pod method which will be called with the input hashref. It is expected to modify
14 #pod the input in place.
15 #pod
16 #pod =cut
17  
18 9 requires 'prepare_input';
19  
20 9 1;
21  
22 __END__
« Weaver/Role/Plugin.pm ↑ Summary Weaver/Role/Section.pm »