File Coverage

blib/lib/Pod/Weaver/Role/Dialect.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::Dialect 4.018;
2             # ABSTRACT: something that translates Pod subdialects to standard Pod5
3              
4 5     5   3181 use Moose::Role;
  5         12  
  5         44  
5             with 'Pod::Weaver::Role::Plugin';
6              
7 5     5   25193 use namespace::autoclean;
  5         14  
  5         56  
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             requires 'translate_dialect';
19              
20             1;
21              
22             __END__
23              
24             =pod
25              
26             =encoding UTF-8
27              
28             =head1 NAME
29              
30             Pod::Weaver::Role::Dialect - something that translates Pod subdialects to standard Pod5
31              
32             =head1 VERSION
33              
34             version 4.018
35              
36             =head1 PERL VERSION SUPPORT
37              
38             This module has the same support period as perl itself: it supports the two
39             most recent versions of perl. (That is, if the most recently released version
40             is v5.40, then this module should work on both v5.40 and v5.38.)
41              
42             Although it may work on older versions of perl, no guarantee is made that the
43             minimum required version will not be increased. The version may be increased
44             for any reason, and there is no promise that patches will be accepted to lower
45             the minimum required perl.
46              
47             =head1 IMPLEMENTING
48              
49             The Dialect role indicates that a plugin will be used to pre-process the input
50             Pod document before weaving begins. The plugin must provide a
51             C<translate_dialect> method which will be called with the input hashref's
52             C<pod_document> entry. It is expected to modify the document in place.
53              
54             =head1 AUTHOR
55              
56             Ricardo SIGNES <rjbs@semiotic.systems>
57              
58             =head1 COPYRIGHT AND LICENSE
59              
60             This software is copyright (c) 2021 by Ricardo SIGNES.
61              
62             This is free software; you can redistribute it and/or modify it under
63             the same terms as the Perl 5 programming language system itself.
64              
65             =cut