| 1 | package Pod::Weaver::Role::Finalizer 4.022; | ||
| 2 | # ABSTRACT: something that goes back and finishes up after main weaving is over | ||
| 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 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 | 9 | requires 'finalize_document'; | |
| 20 | |||
| 21 | 9 | 1; | |
| 22 | |||
| 23 | __END__ | ||