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.020;
2             # ABSTRACT: something that goes back and finishes up after main weaving is over
3              
4 9     9   7745 use Moose::Role;
  9         91  
  9         99  
5             with 'Pod::Weaver::Role::Plugin';
6              
7 9     9   70999 use namespace::autoclean;
  9         40  
  9         113  
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.020
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
41             released in the last two to three years. (That is, if the most recently
42             released version is v5.40, then this module should work on both v5.40 and
43             v5.38.)
44              
45             Although it may work on older versions of perl, no guarantee is made that the
46             minimum required version will not be increased. The version may be increased
47             for any reason, and there is no promise that patches will be accepted to
48             lower the minimum required perl.
49              
50             =head1 IMPLEMENTING
51              
52             The Finalizer role indicates that a plugin will be used to post-process the
53             output document hashref after section weaving is completed. The plugin must
54             provide a C<finalize_document> method which will be called as follows:
55              
56             $finalizer_plugin->finalize_document($document, \%input);
57              
58             =head1 AUTHOR
59              
60             Ricardo SIGNES <cpan@semiotic.systems>
61              
62             =head1 COPYRIGHT AND LICENSE
63              
64             This software is copyright (c) 2024 by Ricardo SIGNES.
65              
66             This is free software; you can redistribute it and/or modify it under
67             the same terms as the Perl 5 programming language system itself.
68              
69             =cut