File Coverage

blib/lib/MooX/Options/Descriptive.pm
Criterion Covered Total %
statement 16 16 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 1 1 100.0
total 23 23 100.0


line stmt bran cond sub pod time code
1             package MooX::Options::Descriptive;
2              
3 22     22   121 use strictures 2;
  22         113  
  22         747  
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.102";
16              
17 22     22   13153 use Getopt::Long 2.43;
  22         183301  
  22         498  
18 22     22   9947 use Getopt::Long::Descriptive 0.099;
  22         433558  
  22         184  
19 22     22   14003 use MooX::Options::Descriptive::Usage;
  22         72  
  22         699  
20 22     22   2102 use parent 'Getopt::Long::Descriptive';
  22         1855  
  22         136  
21              
22             =head1 METHODS
23              
24             =head2 usage_class
25              
26             Method to use for the descriptive build
27              
28             =cut
29              
30 58     58 1 15882 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;