File Coverage

blib/lib/Pod/Elemental/Element/Pod5/Command.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::Command 0.103006;
2             # ABSTRACT: a Pod5 =command element
3              
4 13     13   58706 use Moose;
  13         398973  
  13         101  
5              
6             extends 'Pod::Elemental::Element::Generic::Command';
7             with 'Pod::Elemental::Autoblank';
8             with 'Pod::Elemental::Autochomp';
9              
10 13     13   80201 use Pod::Elemental::Types qw(ChompedString);
  13         45  
  13         56  
11             has '+content' => (
12             coerce => 1,
13             isa => ChompedString,
14             );
15              
16             #pod =head1 OVERVIEW
17             #pod
18             #pod Pod5::Command elements are identical to
19             #pod L<Generic::Command|Pod::Elemental::Element::Generic::Command> elements, except
20             #pod that they incorporate L<Pod::Elemental::Autoblank>. They represent command
21             #pod paragraphs in a Pod5 document.
22             #pod
23             #pod =cut
24              
25 13     13   12823 use namespace::autoclean;
  13         31  
  13         112  
26              
27             __PACKAGE__->meta->make_immutable;
28              
29             1;
30              
31             __END__
32              
33             =pod
34              
35             =encoding UTF-8
36              
37             =head1 NAME
38              
39             Pod::Elemental::Element::Pod5::Command - a Pod5 =command element
40              
41             =head1 VERSION
42              
43             version 0.103006
44              
45             =head1 OVERVIEW
46              
47             Pod5::Command elements are identical to
48             L<Generic::Command|Pod::Elemental::Element::Generic::Command> elements, except
49             that they incorporate L<Pod::Elemental::Autoblank>. They represent command
50             paragraphs in a Pod5 document.
51              
52             =head1 PERL VERSION
53              
54             This library should run on perls released even a long time ago. It should work
55             on any version of perl released in the last five years.
56              
57             Although it may work on older versions of perl, no guarantee is made that the
58             minimum required version will not be increased. The version may be increased
59             for any reason, and there is no promise that patches will be accepted to lower
60             the minimum required perl.
61              
62             =head1 AUTHOR
63              
64             Ricardo SIGNES <cpan@semiotic.systems>
65              
66             =head1 COPYRIGHT AND LICENSE
67              
68             This software is copyright (c) 2022 by Ricardo SIGNES.
69              
70             This is free software; you can redistribute it and/or modify it under
71             the same terms as the Perl 5 programming language system itself.
72              
73             =cut