| 1 | package Pod::Weaver::Role::Dialect 4.022; | ||
| 2 | # ABSTRACT: something that translates Pod subdialects to standard Pod5 | ||
| 3 | |||
| 4 | 5 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 5 | with 'Pod::Weaver::Role::Plugin'; | |
| 6 | |||
| 7 | 5 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | #pod =head1 IMPLEMENTING | ||
| 10 | #pod | ||
| 11 | #pod The Dialect role indicates that a plugin will be used to pre-process the input | ||
| 12 | #pod Pod document before weaving begins. The plugin must provide a | ||
| 13 | #pod C<translate_dialect> method which will be called with the input hashref's | ||
| 14 | #pod C<pod_document> entry. It is expected to modify the document in place. | ||
| 15 | #pod | ||
| 16 | #pod =cut | ||
| 17 | |||
| 18 | 5 | requires 'translate_dialect'; | |
| 19 | |||
| 20 | 5 | 1; | |
| 21 | |||
| 22 | __END__ | ||