blib/lib/MooX/Options/Descriptive.pm

filter: Statementstmt 100% 21 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 100% 1 / 1 totaltotal 100% 29 / 29 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« /usr/local/bin/perldoc ↑ Summary
1 package MooX::Options::Descriptive;
2  
3 22 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 22 ▶use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 =head1 NAME
7  
8 MooX::Options::Descriptive - This method extend Getopt::Long::Descriptive to change the usage method
9  
10 =head1 DESCRIPTION
11  
12 This class will override the usage_class method, to customize the output of the help
13  
14 =cut
15  
16 22 our $VERSION = "4.099_003";
17  
18 22 ▶use Getopt::Long 2.43;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 22 ▶use Getopt::Long::Descriptive 0.099;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 22 ▶use MooX::Options::Descriptive::Usage;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 22 ▶use parent 'Getopt::Long::Descriptive';
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 =head1 METHODS
24  
25 =head2 usage_class
26  
27 Method to use for the descriptive build
28  
29 =cut
30  
31 150 ▶sub usage_class { return 'MooX::Options::Descriptive::Usage' }
Subroutine usage_class: called CC=1 SCAR=0.0
Pod documented
32  
33 =head1 SUPPORT
34  
35 You can find documentation for this module with the perldoc command.
36  
37 perldoc MooX::Options
38  
39 You can also look for information at:
40  
41 =over 4
42  
43 =item * RT: CPAN's request tracker (report bugs here)
44  
45 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooX-Options>
46  
47 =item * AnnoCPAN: Annotated CPAN documentation
48  
49 L<http://annocpan.org/dist/MooX-Options>
50  
51 =item * CPAN Ratings
52  
53 L<http://cpanratings.perl.org/d/MooX-Options>
54  
55 =item * Search CPAN
56  
57 L<http://search.cpan.org/dist/MooX-Options/>
58  
59 =back
60  
61 =head1 AUTHOR
62  
63 celogeek <me@celogeek.com>
64  
65 =head1 COPYRIGHT AND LICENSE
66  
67 This software is copyright (c) 2013 by celogeek <me@celogeek.com>.
68  
69 This software is copyright (c) 2017 by Jens Rehsack.
70  
71 This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
72  
73 =cut
74  
75 22 1;
« /usr/local/bin/perldoc ↑ Summary