File Coverage

blib/lib/Pod/Weaver/Role/Finalizer.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Pod::Weaver::Role::Finalizer 4.019;
2             # ABSTRACT: something that goes back and finishes up after main weaving is over
3              
4 9     9   5604 use Moose::Role;
  9         29  
  9         80  
5             with 'Pod::Weaver::Role::Plugin';
6              
7 9     9   48741 use namespace::autoclean;
  9         26  
  9         96  
8              
9             #pod =head1 IMPLEMENTING
10             #pod
11             #pod The Finalizer role indicates that a plugin will be used to post-process the
12             #pod output document hashref after section weaving is completed. The plugin must
13             #pod provide a C<finalize_document> method which will be called as follows:
14             #pod
15             #pod $finalizer_plugin->finalize_document($document, \%input);
16             #pod
17             #pod =cut
18              
19             requires 'finalize_document';
20              
21             1;
22              
23             __END__
24              
25             =pod
26              
27             =encoding UTF-8
28              
29             =head1 NAME
30              
31             Pod::Weaver::Role::Finalizer - something that goes back and finishes up after main weaving is over
32              
33             =head1 VERSION
34              
35             version 4.019
36              
37             =head1 PERL VERSION
38              
39             This module should work on any version of perl still receiving updates from
40             the Perl 5 Porters. This means it should work on any version of perl released
41             in the last two to three years. (That is, if the most recently released
42             version is v5.40, then this module should work on both v5.40 and v5.38.)
43              
44             Although it may work on older versions of perl, no guarantee is made that the
45             minimum required version will not be increased. The version may be increased
46             for any reason, and there is no promise that patches will be accepted to lower
47             the minimum required perl.
48              
49             =head1 IMPLEMENTING
50              
51             The Finalizer role indicates that a plugin will be used to post-process the
52             output document hashref after section weaving is completed. The plugin must
53             provide a C<finalize_document> method which will be called as follows:
54              
55             $finalizer_plugin->finalize_document($document, \%input);
56              
57             =head1 AUTHOR
58              
59             Ricardo SIGNES <cpan@semiotic.systems>
60              
61             =head1 COPYRIGHT AND LICENSE
62              
63             This software is copyright (c) 2023 by Ricardo SIGNES.
64              
65             This is free software; you can redistribute it and/or modify it under
66             the same terms as the Perl 5 programming language system itself.
67              
68             =cut