line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Pod::Elemental::Element::Generic::Command; |
2
|
|
|
|
|
|
|
# ABSTRACT: a Pod =command element |
3
|
|
|
|
|
|
|
$Pod::Elemental::Element::Generic::Command::VERSION = '0.103004'; |
4
|
1
|
|
|
1
|
|
1981
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
use namespace::autoclean; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
#pod =head1 OVERVIEW |
9
|
|
|
|
|
|
|
#pod |
10
|
|
|
|
|
|
|
#pod Generic::Command elements are paragraph elements implementing the |
11
|
|
|
|
|
|
|
#pod Pod::Elemental::Command role. They provide the command method by implementing |
12
|
|
|
|
|
|
|
#pod a read/write command attribute. |
13
|
|
|
|
|
|
|
#pod |
14
|
|
|
|
|
|
|
#pod =attr command |
15
|
|
|
|
|
|
|
#pod |
16
|
|
|
|
|
|
|
#pod This attribute contains the name of the command, like C<head1> or C<encoding>. |
17
|
|
|
|
|
|
|
#pod |
18
|
|
|
|
|
|
|
#pod =cut |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
has command => ( |
21
|
|
|
|
|
|
|
is => 'rw', |
22
|
|
|
|
|
|
|
isa => 'Str', |
23
|
|
|
|
|
|
|
required => 1, |
24
|
|
|
|
|
|
|
); |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
with 'Pod::Elemental::Command'; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
__END__ |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=pod |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=encoding UTF-8 |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 NAME |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Pod::Elemental::Element::Generic::Command - a Pod =command element |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 VERSION |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
version 0.103004 |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 OVERVIEW |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Generic::Command elements are paragraph elements implementing the |
49
|
|
|
|
|
|
|
Pod::Elemental::Command role. They provide the command method by implementing |
50
|
|
|
|
|
|
|
a read/write command attribute. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head2 command |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
This attribute contains the name of the command, like C<head1> or C<encoding>. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 AUTHOR |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
Ricardo SIGNES <rjbs@cpan.org> |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
This software is copyright (c) 2014 by Ricardo SIGNES. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
67
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=cut |