line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MooX::Options::Descriptive; |
2
|
|
|
|
|
|
|
|
3
|
23
|
|
|
23
|
|
133
|
use strictures 2; |
|
23
|
|
|
|
|
124
|
|
|
23
|
|
|
|
|
783
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
MooX::Options::Descriptive - This method extend Getopt::Long::Descriptive to change the usage method |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 DESCRIPTION |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
This class will override the usage_class method, to customize the output of the help |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=cut |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
our $VERSION = "4.103"; |
16
|
|
|
|
|
|
|
|
17
|
23
|
|
|
23
|
|
14193
|
use Getopt::Long 2.43; |
|
23
|
|
|
|
|
200555
|
|
|
23
|
|
|
|
|
571
|
|
18
|
23
|
|
|
23
|
|
11550
|
use Getopt::Long::Descriptive 0.099; |
|
23
|
|
|
|
|
454763
|
|
|
23
|
|
|
|
|
195
|
|
19
|
23
|
|
|
23
|
|
15776
|
use MooX::Options::Descriptive::Usage; |
|
23
|
|
|
|
|
94
|
|
|
23
|
|
|
|
|
823
|
|
20
|
23
|
|
|
23
|
|
2646
|
use parent 'Getopt::Long::Descriptive'; |
|
23
|
|
|
|
|
2216
|
|
|
23
|
|
|
|
|
166
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 METHODS |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head2 usage_class |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Method to use for the descriptive build |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
154
|
|
|
154
|
1
|
48626
|
sub usage_class { return 'MooX::Options::Descriptive::Usage' } |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 SUPPORT |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
perldoc MooX::Options |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
You can also look for information at: |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=over 4 |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker (report bugs here) |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
L |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
L |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=item * CPAN Ratings |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
L |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=item * Search CPAN |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
L |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=back |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 AUTHOR |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
celogeek |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
This software is copyright (c) 2013 by celogeek . |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
This software is copyright (c) 2017 by Jens Rehsack. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=cut |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
1; |