Options/Descriptive.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 1 / 1 totaltotal 100% 25 / 25 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Options.pm ↑ Summary
1 package MooX::Options::Descriptive;
2  
3 22 ▶use strictures 2;
Subroutine BEGIN: called CC=1 SCAR=0.0
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 22 our $VERSION = "4.102";
16  
17 22 ▶use Getopt::Long 2.43;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 22 ▶use Getopt::Long::Descriptive 0.099;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 22 ▶use MooX::Options::Descriptive::Usage;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 22 ▶use parent 'Getopt::Long::Descriptive';
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 =head1 METHODS
23  
24 =head2 usage_class
25  
26 Method to use for the descriptive build
27  
28 =cut
29  
30 58 ▶sub usage_class { return 'MooX::Options::Descriptive::Usage' }
Subroutine usage_class: called CC=1 SCAR=0.0
Pod documented
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<http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooX-Options>
45  
46 =item * AnnoCPAN: Annotated CPAN documentation
47  
48 L<http://annocpan.org/dist/MooX-Options>
49  
50 =item * CPAN Ratings
51  
52 L<http://cpanratings.perl.org/d/MooX-Options>
53  
54 =item * Search CPAN
55  
56 L<http://search.cpan.org/dist/MooX-Options/>
57  
58 =back
59  
60 =head1 AUTHOR
61  
62 celogeek <me@celogeek.com>
63  
64 =head1 COPYRIGHT AND LICENSE
65  
66 This software is copyright (c) 2013 by celogeek <me@celogeek.com>.
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 22 1;
« Options.pm ↑ Summary