line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Pod::Weaver::Role::Finalizer 4.018; |
2
|
|
|
|
|
|
|
# ABSTRACT: something that goes back and finishes up after main weaving is over |
3
|
|
|
|
|
|
|
|
4
|
9
|
|
|
9
|
|
5605
|
use Moose::Role; |
|
9
|
|
|
|
|
25
|
|
|
9
|
|
|
|
|
72
|
|
5
|
|
|
|
|
|
|
with 'Pod::Weaver::Role::Plugin'; |
6
|
|
|
|
|
|
|
|
7
|
9
|
|
|
9
|
|
45926
|
use namespace::autoclean; |
|
9
|
|
|
|
|
20
|
|
|
9
|
|
|
|
|
84
|
|
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.018 |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 PERL VERSION SUPPORT |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This module has the same support period as perl itself: it supports the two |
40
|
|
|
|
|
|
|
most recent versions of perl. (That is, if the most recently released version |
41
|
|
|
|
|
|
|
is v5.40, then this module should work on both v5.40 and v5.38.) |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Although it may work on older versions of perl, no guarantee is made that the |
44
|
|
|
|
|
|
|
minimum required version will not be increased. The version may be increased |
45
|
|
|
|
|
|
|
for any reason, and there is no promise that patches will be accepted to lower |
46
|
|
|
|
|
|
|
the minimum required perl. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 IMPLEMENTING |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
The Finalizer role indicates that a plugin will be used to post-process the |
51
|
|
|
|
|
|
|
output document hashref after section weaving is completed. The plugin must |
52
|
|
|
|
|
|
|
provide a C<finalize_document> method which will be called as follows: |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
$finalizer_plugin->finalize_document($document, \%input); |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 AUTHOR |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Ricardo SIGNES <rjbs@semiotic.systems> |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
This software is copyright (c) 2021 by Ricardo SIGNES. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
65
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=cut |