File Coverage

blib/lib/Pod/Elemental/Element/Pod5/Verbatim.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Pod::Elemental::Element::Pod5::Verbatim 0.103006;
2             # ABSTRACT: a Pod verbatim paragraph
3              
4 11     11   71 use Moose;
  11         23  
  11         80  
5             extends 'Pod::Elemental::Element::Generic::Text';
6             with 'Pod::Elemental::Autoblank';
7             with 'Pod::Elemental::Autochomp';
8              
9             # BEGIN Autochomp Replacement
10 11     11   65242 use Pod::Elemental::Types qw(ChompedString);
  11         27  
  11         99  
11             has '+content' => (coerce => 1, isa => ChompedString);
12             # END Autochomp Replacement
13              
14             #pod =head1 OVERVIEW
15             #pod
16             #pod Pod5::Verbatim elements represent "verbatim" paragraphs of text. These are
17             #pod ordinary, flat paragraphs of text that were indented in the source Pod to
18             #pod indicate that they should be represented verbatim in formatted output. The
19             #pod following paragraph is a verbatim paragraph:
20             #pod
21             #pod This is a verbatim
22             #pod paragraph
23             #pod right here.
24             #pod
25             #pod =cut
26              
27 11     11   11770 use namespace::autoclean;
  11         26  
  11         105  
28              
29             __PACKAGE__->meta->make_immutable;
30              
31             1;
32              
33             __END__
34              
35             =pod
36              
37             =encoding UTF-8
38              
39             =head1 NAME
40              
41             Pod::Elemental::Element::Pod5::Verbatim - a Pod verbatim paragraph
42              
43             =head1 VERSION
44              
45             version 0.103006
46              
47             =head1 OVERVIEW
48              
49             Pod5::Verbatim elements represent "verbatim" paragraphs of text. These are
50             ordinary, flat paragraphs of text that were indented in the source Pod to
51             indicate that they should be represented verbatim in formatted output. The
52             following paragraph is a verbatim paragraph:
53              
54             This is a verbatim
55             paragraph
56             right here.
57              
58             =head1 PERL VERSION
59              
60             This library should run on perls released even a long time ago. It should work
61             on any version of perl released in the last five years.
62              
63             Although it may work on older versions of perl, no guarantee is made that the
64             minimum required version will not be increased. The version may be increased
65             for any reason, and there is no promise that patches will be accepted to lower
66             the minimum required perl.
67              
68             =head1 AUTHOR
69              
70             Ricardo SIGNES <cpan@semiotic.systems>
71              
72             =head1 COPYRIGHT AND LICENSE
73              
74             This software is copyright (c) 2022 by Ricardo SIGNES.
75              
76             This is free software; you can redistribute it and/or modify it under
77             the same terms as the Perl 5 programming language system itself.
78              
79             =cut