Options/Descriptive/Usage.pm

filter: Statementstmt 52.4% 87 / 166 Branchbran 31.3% 32 / 102 Conditioncond 29.4% 5 / 17 MC/DCmcdc 10.0% 1 / 10 Subroutinesub 72.2% 13 / 18 Podpod 100% 7 / 7 totaltotal 45.3% 145 / 320 SCAR 66.6
CC
63
Cov
44%
option_pod
650.0
option_short_usage
110.0
option_help
13.2
CRAP 778.5
↑ Summary Options/Role.pm »
1 package MooX::Options::Descriptive::Usage;
2  
3 22 ▶use strictures 2;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 =head1 NAME
6  
7 MooX::Options::Descriptive::Usage - Usage class
8  
9 =head1 DESCRIPTION
10  
11 Usage class to display the error message.
12  
13 This class use the full size of your terminal
14  
15 =cut
16  
17 ## no critic (ProhibitExcessComplexity)
18  
19 22 our $VERSION = "4.102";
20  
21 22 ▶use Getopt::Long::Descriptive;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 22 ▶use Module::Runtime qw(use_module);
Subroutine BEGIN: called CC=1 SCAR=0.0
23 22 ▶use Scalar::Util qw/blessed/;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 22 ▶use Text::LineFold ();
Subroutine BEGIN: called CC=1 SCAR=0.0
25  
26 22 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
27 22 with "MooX::Locale::Passthrough";
28  
29 22 has format_doc => ( is => "lazy" );
30  
31 ## no critic (Subroutines::RequireFinalReturn, Subroutines::ProhibitUnusedPrivateSubroutines)
32  
33 sub _build_format_doc {
34 3 ▶ my $self = shift;
Subroutine _build_format_doc: called CC=1 SCAR=0.0
35 3 +{ 's' => $self->__("String"),
36 's@' => $self->__("[Strings]"),
37 'i' => $self->__("Int"),
38 'i@' => $self->__("[Ints]"),
39 'o' => $self->__("Ext. Int"),
40 'o@' => $self->__("[Ext. Ints]"),
41 'f' => $self->__("Real"),
42 'f@' => $self->__("[Reals]"),
43 };
44 }
45  
46 22 has format_doc_long => ( is => "lazy" );
47  
48 sub _build_format_doc_long {
49 0 ▶ my $self = shift;
Subroutine _build_format_doc_long: not called CC=1 SCAR=6.9
50 0 +{ 's' => $self->__("String"),
51 's@' => $self->__("Array of Strings"),
52 'i' => $self->__("Integer"),
53 'i@' => $self->__("Array of Integers"),
54 'o' => $self->__("Extended Integer"),
55 'o@' => $self->__("Array of extended integers"),
56 'f' => $self->__("Real number"),
57 'f@' => $self->__("Array of real numbers"),
58 };
59 }
60  
61 =head1 ATTRIBUTES
62  
63 Following attributes are present and behave as GLD::Usage describe them.
64  
65 =head2 leader_text
66  
67 Text that appear on top of your message
68  
69 =head2 options
70  
71 The options spec of your message
72  
73 =cut
74  
75 22 has leader_text => ( is => "ro" );
76 22 has options => ( is => "ro" );
77  
78 =head1 METHODS
79  
80 =head2 sub_commands_text
81  
82 Return the list of sub commands if available.
83  
84 =cut
85  
86 sub sub_commands_text {
87 45 ▶ my ($self) = @_;
Subroutine sub_commands_text: called CC=4 SCAR=17.9
Pod documented
88 45 my $sub_commands = [];
89 45 ▶ if (defined $self->{target}
Branch: 1 branch
BranchTrueFalseTotal
if (defined $self->{"target"} and defined(my $sub_commands_options = $self->{"target"}->_options_sub_commands)) 0 45 45
Condition33%1/3
defined $self->{"target"} and defined(my $sub_commands_options = $self->{"target"}->_options_sub_commands)
!ll&&!rl&&r
0450
MC/DC0%0/2
defined $self->{"target"} and defined(my $sub_commands_options = $self->{"target"}->_options_sub_commands)
defined $self->{"target"} defined(my $sub_commands_options = $self->{"target"}->_options_sub_commands)
Truth table33%1/3
A and B
A= defined $self->{"target"}B= defined(my $sub_commands_options = $self->{"target"}->_options_sub_commands)
ABresult
0X0
100
111
90 && defined(
91 my $sub_commands_options = $self->{target}->_options_sub_commands
92 )
93 )
94 {
95 0 $sub_commands = $sub_commands_options;
96 }
97 45 ▶ return if !@$sub_commands;
Branch: 1 branch
BranchTrueFalseTotal
unless @$sub_commands 45 0 45
98 return "",
99 $self->__("SUB COMMANDS AVAILABLE: ")
100 0 . join( ', ', map { $_->{name} } @$sub_commands ), "";
101 }
102  
103 =head2 text
104  
105 Return a compact help message.
106  
107 =cut
108  
109 sub text {
110 38 ▶ my ($self) = @_;
Subroutine text: called CC=13 SCAR=25.7
Pod documented
111 my %options_data
112 38 ▶ = defined $self->{target} ? $self->{target}->_options_data : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $self->{'target'} ? : 38 0 38
113 my %options_config
114 = defined $self->{target}
115 ? $self->{target}->_options_config
116 38 ▶ : ( spacer => " " );
Branch: 1 branch
BranchTrueFalseTotal
defined $self->{'target'} ? : 38 0 38
117 38 my $getopt_options = $self->options;
118  
119 38 my $lf = _get_line_fold();
120  
121 38 my @to_fold;
122 38 my $max_spec_length = 0;
123 38 for my $opt (@$getopt_options) {
124 240 ▶ if ( $opt->{desc} eq 'spacer' ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($opt->{"desc"} eq "spacer") 40 200 240
125 40 push @to_fold, '';
126 push @to_fold,
127 40 $options_config{spacer} x ( $lf->config('ColMax') - 4 );
128 40 next;
129 }
130 200 my ( $short, $format ) = $opt->{spec} =~ /(?:\|(\w))?(?:=(.*?))?$/x;
131 200 my $format_doc_str;
132 200 ▶ $format_doc_str = $self->format_doc->{$format} if defined $format;
Branch: 1 branch
BranchTrueFalseTotal
if defined $format 9 191 200
133 $format_doc_str = 'JSON'
134 200 ▶ if defined $options_data{ $opt->{name} }{json};
Branch: 1 branch
BranchTrueFalseTotal
if defined $options_data{$opt->{"name"}}{"json"} 0 200 200
135  
136 my $spec
137 = ( defined $short ? "-" . $short . " " : "" ) . "-"
138 . ( length( $opt->{name} ) > 1 ? "-" : "" )
139 . $opt->{name}
140 200 ▶ . ( defined $format_doc_str ? "=" . $format_doc_str : "" );
Branch: 3 branches
BranchTrueFalseTotal
defined $short ? : 0 200 200
length $opt->{'name'} > 1 ? : 148 52 200
defined $format_doc_str ? : 9 191 200
141  
142 200 ▶ $max_spec_length = length($spec) if $max_spec_length < length($spec);
Branch: 1 branch
BranchTrueFalseTotal
if $max_spec_length < length $spec 58 142 200
143  
144 200 push @to_fold, $spec, $opt->{desc};
145 }
146  
147 38 my @message;
148 38 ▶ while (@to_fold) {
Branch: 1 branch
BranchTrueFalseTotal
if (@to_fold) 240 38 278
149 240 my $spec = shift @to_fold;
150 240 my $desc = shift @to_fold;
151 240 ▶ if ( length($spec) ) {
Branch: 1 branch
BranchTrueFalseTotal
if (length $spec) { } 200 40 240
152 200 push @message,
153 $lf->fold(
154 " ",
155 " " x ( 6 + $max_spec_length ),
156 sprintf(
157 "%-" . ( $max_spec_length + 1 ) . "s %s",
158 $spec, $desc
159 )
160 );
161 }
162 else {
163 40 push @message, $desc, "\n";
164 }
165 }
166  
167 38 return join( "\n",
168 $self->leader_text, "", join( "", @message ),
169 $self->sub_commands_text );
170 }
171  
172 # set the column size of your terminal into the wrapper
173 sub _get_line_fold {
174 my $columns = $ENV{TEST_FORCE_COLUMN_SIZE}
175 45 ▶ || eval {
Subroutine _get_line_fold: called CC=3 SCAR=11.3
Condition80%4/5
$ENV{'TEST_FORCE_COLUMN_SIZE'} || eval { do { &use_module('Term::Size::Any'); [Term::Size::Any::chars()]->[0] } } || 80
l!l
3312
$ENV{"TEST_FORCE_COLUMN_SIZE"} or eval { do { &use_module("Term::Size::Any"); [Term::Size::Any::chars()]->[0] } }
l!l&&r!l&&!r
33012
MC/DC50%1/2
$ENV{'TEST_FORCE_COLUMN_SIZE'} || eval { do { &use_module('Term::Size::Any'); [Term::Size::Any::chars()]->[0] } } || 80
$ENV{"TEST_FORCE_COLUMN_SIZE"} eval { do { &use_module("Term::Size::Any"); [Term::Size::Any::chars()]->[0] } }
Truth table66%2/3
A or B
A= $ENV{"TEST_FORCE_COLUMN_SIZE"}B= eval { do { &use_module("Term::Size::Any"); [Term::Size::Any::chars()]->[0] } }
ABresult
1X1
011
000
176 12 use_module("Term::Size::Any");
177 0 [ Term::Size::Any::chars() ]->[0];
178 } || 80;
179  
180 45 return Text::LineFold->new( ColMax => $columns - 4 );
181 }
182  
183 =head2 option_help
184  
185 Return the help message for your options
186  
187 =cut
188  
189 sub option_help {
190 7 ▶ my ($self) = @_;
Subroutine option_help: called CC=12 SCAR=25.8
Pod documented
191 my %options_data
192 7 ▶ = defined $self->{target} ? $self->{target}->_options_data : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $self->{'target'} ? : 7 0 7
193 my %options_config
194 = defined $self->{target}
195 ? $self->{target}->_options_config
196 7 ▶ : ( spacer => " " );
Branch: 1 branch
BranchTrueFalseTotal
defined $self->{'target'} ? : 7 0 7
197 7 my $getopt_options = $self->options;
198 7 my @message;
199 7 my $lf = _get_line_fold();
200 7 for my $opt (@$getopt_options) {
201 46 ▶ if ( $opt->{desc} eq 'spacer' ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($opt->{"desc"} eq "spacer") 9 37 46
202 push @message,
203 9 $options_config{spacer} x ( $lf->config('ColMax') - 4 );
204 9 push @message, "";
205 9 next;
206 }
207 37 my ( $short, $format ) = $opt->{spec} =~ /(?:\|(\w))?(?:=(.*?))?$/x;
208 37 my $format_doc_str;
209 37 ▶ $format_doc_str = $self->format_doc->{$format} if defined $format;
Branch: 1 branch
BranchTrueFalseTotal
if defined $format 0 37 37
210 $format_doc_str = 'JSON'
211 37 ▶ if defined $options_data{ $opt->{name} }{json};
Branch: 1 branch
BranchTrueFalseTotal
if defined $options_data{$opt->{"name"}}{"json"} 0 37 37
212 push @message,
213 ( defined $short ? "-" . $short . " " : "" ) . "-"
214 . ( length( $opt->{name} ) > 1 ? "-" : "" )
215 37 ▶ . $opt->{name} . ":"
Branch: 3 branches
BranchTrueFalseTotal
defined $short ? : 0 37 37
length $opt->{'name'} > 1 ? : 22 15 37
defined $format_doc_str ? : 0 37 37
216 . ( defined $format_doc_str ? " " . $format_doc_str : "" );
217  
218 37 my $opt_data = $options_data{ $opt->{name} };
219 37 ▶ $opt_data = {} if !defined $opt_data;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $opt_data 0 37 37
220 push @message,
221 $lf->fold(
222 " ",
223 " ",
224 defined $opt_data->{long_doc}
225 ? $self->__( $opt_data->{long_doc} )
226 : $self->__( $opt->{desc} )
227 37 ▶ );
Branch: 1 branch
BranchTrueFalseTotal
defined $opt_data->{'long_doc'} ? : 0 37 37
228 }
229  
230 7 return join( "\n",
231 $self->leader_text, join( "\n ", "", @message ),
232 $self->sub_commands_text );
233 }
234  
235 =head2 option_pod
236  
237 Return the usage message in pod format
238  
239 =cut
240  
241 sub option_pod {
242 0 ▶ my ($self) = @_;
Subroutine option_pod: not called CC=25 SCAR=64.8
Pod documented
243  
244 my %options_data
245 0 ▶ = defined $self->{target} ? $self->{target}->_options_data : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $self->{'target'} ? : 0 0 0
246 my %options_config
247 = defined $self->{target}
248 ? $self->{target}->_options_config
249 0 ▶ : ( spacer => " " );
Branch: 1 branch
BranchTrueFalseTotal
defined $self->{'target'} ? : 0 0 0
250  
251 0 my $prog_name = $self->{prog_name};
252 0 ▶ $prog_name = Getopt::Long::Descriptive::prog_name if !defined $prog_name;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $prog_name 0 0 0
253  
254 0 my $sub_commands = [];
255 0 ▶ if (defined $self->{target}
Branch: 1 branch
BranchTrueFalseTotal
if (defined $self->{"target"} and defined(my $sub_commands_options = $self->{"target"}->_options_sub_commands)) 0 0 0
Condition0%0/3
defined $self->{"target"} and defined(my $sub_commands_options = $self->{"target"}->_options_sub_commands)
!ll&&!rl&&r
000
MC/DC0%0/2
defined $self->{"target"} and defined(my $sub_commands_options = $self->{"target"}->_options_sub_commands)
defined $self->{"target"} defined(my $sub_commands_options = $self->{"target"}->_options_sub_commands)
Truth table0%0/3
A and B
A= defined $self->{"target"}B= defined(my $sub_commands_options = $self->{"target"}->_options_sub_commands)
ABresult
0X0
100
111
256 && defined(
257 my $sub_commands_options
258 = $self->{target}->_options_sub_commands()
259 )
260 )
261 {
262 0 $sub_commands = $sub_commands_options;
263 }
264  
265 0 my @man = ( "=encoding UTF-8", "=head1 NAME", $prog_name, );
266  
267 0 ▶ if ( defined( my $description = $options_config{description} ) ) {
Branch: 1 branch
BranchTrueFalseTotal
if (defined(my $description = $options_config{"description"})) 0 0 0
268 0 push @man, "=head1 DESCRIPTION", $description;
269 }
270  
271 0 push @man,
272 (
273 "=head1 SYNOPSIS",
274 $prog_name . " [-h] [" . $self->__("long options ...") . "]"
275 );
276  
277 0 ▶ if ( defined( my $synopsis = $options_config{synopsis} ) ) {
Branch: 1 branch
BranchTrueFalseTotal
if (defined(my $synopsis = $options_config{"synopsis"})) 0 0 0
278 0 push @man, $synopsis;
279 }
280  
281 0 push @man, ( "=head1 OPTIONS", "=over" );
282  
283 0 my $spacer_escape = "E<" . ord( $options_config{spacer} ) . ">";
284 0 for my $opt ( @{ $self->options } ) {
285 0 ▶ if ( $opt->{desc} eq 'spacer' ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($opt->{"desc"} eq "spacer") 0 0 0
286 0 push @man, "=back";
287 0 push @man, $spacer_escape x 40;
288 0 push @man, "=over";
289 0 next;
290 }
291 0 my ( $short, $format ) = $opt->{spec} =~ /(?:\|(\w))?(?:=(.*?))?$/x;
292 0 my $format_doc_str;
293 0 ▶ $format_doc_str = $self->format_doc_long->{$format}
Branch: 1 branch
BranchTrueFalseTotal
if defined $format 0 0 0
294 if defined $format;
295 $format_doc_str = 'JSON'
296 0 ▶ if defined $options_data{ $opt->{name} }{json};
Branch: 1 branch
BranchTrueFalseTotal
if defined $options_data{$opt->{"name"}}{"json"} 0 0 0
297  
298 my $opt_long_name
299 0 ▶ = "-" . ( length( $opt->{name} ) > 1 ? "-" : "" ) . $opt->{name};
Branch: 1 branch
BranchTrueFalseTotal
length $opt->{'name'} > 1 ? : 0 0 0
300 0 ▶ my $opt_name
Branch: 2 branches
BranchTrueFalseTotal
defined $short ? : 0 0 0
defined $format_doc_str ? : 0 0 0
301 = ( defined $short ? "-" . $short . " " : "" )
302 . $opt_long_name . ":"
303 . ( defined $format_doc_str ? " " . $format_doc_str : "" );
304  
305 0 push @man, "=item B<" . $opt_name . ">";
306  
307 0 my $opt_data = $options_data{ $opt->{name} };
308 0 ▶ $opt_data = {} if !defined $opt_data;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $opt_data 0 0 0
309 push @man, defined $opt_data->{long_doc}
310 ? $opt_data->{long_doc}
311 0 ▶ : $opt->{desc};
Branch: 1 branch
BranchTrueFalseTotal
defined $opt_data->{'long_doc'} ? : 0 0 0
312 }
313 0 push @man, "=back";
314  
315 0 ▶ if (@$sub_commands) {
Branch: 1 branch
BranchTrueFalseTotal
if (@$sub_commands) 0 0 0
316 0 push @man, "=head1 AVAILABLE SUB COMMANDS";
317 0 push @man, "=over";
318 0 for my $sub_command (@$sub_commands) {
319 0 ▶ if ($sub_command->{command}->can("_options_config")
Branch: 1 branch
BranchTrueFalseTotal
if ($sub_command->{'command'}->can('_options_config') and defined(my $desc = {$sub_command->{'command'}->_options_config}->{'description'})) { } 0 0 0
Condition0%0/3
$sub_command->{"command"}->can("_options_config") and defined(my $desc = {$sub_command->{"command"}->_options_config}->{"description"})
!ll&&!rl&&r
000
MC/DC0%0/2
$sub_command->{"command"}->can("_options_config") and defined(my $desc = {$sub_command->{"command"}->_options_config}->{"description"})
$sub_command->{"command"}->can("_options_config") defined(my $desc = {$sub_command->{"command"}->_options_config}->{"description"})
Truth table0%0/3
A and B
A= $sub_command->{"command"}->can("_options_config")B= defined(my $desc = {$sub_command->{"command"}->_options_config}->{"description"})
ABresult
0X0
100
111
320 && defined(
321 my $desc
322 = { $sub_command->{command}->_options_config }
323 ->{description}
324 )
325 )
326 {
327 0 push @man, "=item B<" . $sub_command->{name} . "> : " . $desc;
328 }
329 else {
330 0 push @man, "=item B<" . $sub_command->{name} . "> :";
331 }
332  
333 push @man,
334 $prog_name . " "
335 . $sub_command->{name}
336 0 . " [-h] ["
337 . $self->__("long options ...") . "]";
338 }
339 0 push @man, "=back";
340 }
341  
342 0 ▶ if ( defined( my $authors = $options_config{authors} ) ) {
Branch: 1 branch
BranchTrueFalseTotal
if (defined(my $authors = $options_config{"authors"})) 0 0 0
343 0 ▶ if ( !ref $authors && length($authors) ) {
Branch: 1 branch
BranchTrueFalseTotal
if (not ref $authors and length $authors) 0 0 0
Condition0%0/3
not ref $authors and length $authors
!ll&&!rl&&r
000
MC/DC0%0/2
not ref $authors and length $authors
not ref $authors length $authors
Truth table0%0/3
not(A) and B
A= not ref $authorsB= length $authors
ABresult
0X0
100
111
344 0 $authors = [$authors];
345 }
346 0 ▶ if (@$authors) {
Branch: 1 branch
BranchTrueFalseTotal
if (@$authors) 0 0 0
347 0 push @man, ( "=head1 AUTHORS", "=over" );
348 0 push @man, map { "=item B<" . $_ . ">" } @$authors;
349 0 push @man, "=back";
350 }
351 }
352  
353 0 return join( "\n\n", @man );
354 }
355  
356 =head2 option_short_usage
357  
358 All options message without help
359  
360 =cut
361  
362 sub option_short_usage {
363 0 ▶ my ($self) = @_;
Subroutine option_short_usage: not called CC=10 SCAR=47.0
Pod documented
364 my %options_data
365 0 ▶ = defined $self->{target} ? $self->{target}->_options_data : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $self->{'target'} ? : 0 0 0
366 0 my $getopt_options = $self->options;
367  
368 0 my $prog_name = $self->{prog_name};
369 0 ▶ $prog_name = Getopt::Long::Descriptive::prog_name if !defined $prog_name;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $prog_name 0 0 0
370  
371 0 my @message;
372 0 for my $opt (@$getopt_options) {
373 0 ▶ if ( $opt->{desc} eq 'spacer' ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($opt->{"desc"} eq "spacer") 0 0 0
374 0 push @message, '';
375 0 next;
376 }
377 0 my ($format) = $opt->{spec} =~ /(?:\|\w)?(?:=(.*?))?$/x;
378 0 my $format_doc_str;
379 0 ▶ $format_doc_str = $self->format_doc->{$format} if defined $format;
Branch: 1 branch
BranchTrueFalseTotal
if defined $format 0 0 0
380 $format_doc_str = 'JSON'
381 0 ▶ if defined $options_data{ $opt->{name} }{json};
Branch: 1 branch
BranchTrueFalseTotal
if defined $options_data{$opt->{"name"}}{"json"} 0 0 0
382 push @message,
383 "-"
384 . ( length( $opt->{name} ) > 1 ? "-" : "" )
385 . $opt->{name}
386 0 ▶ . ( defined $format_doc_str ? "=" . $format_doc_str : "" );
Branch: 2 branches
BranchTrueFalseTotal
length $opt->{'name'} > 1 ? : 0 0 0
defined $format_doc_str ? : 0 0 0
387 }
388 return
389 0 ▶ join( " ", $prog_name, map { $_ eq '' ? " | " : "[ $_ ]" } @message );
Branch: 1 branch
BranchTrueFalseTotal
$_ eq '' ? : 0 0 0
390 }
391  
392 =head2 warn
393  
394 Warn your options help message
395  
396 =cut
397  
398 0 ▶sub warn { return CORE::warn shift->text }
Subroutine warn: not called CC=1 SCAR=6.9
Pod documented
399  
400 =head2 die
401  
402 Croak your options help message
403  
404 =cut
405  
406 sub die {
407 5 ▶ my ($self) = @_;
Subroutine die: called CC=1 SCAR=0.0
Pod documented
408 5 $self->{should_die} = 1;
409 5 return;
410 }
411  
412 use overload (
413 q{""} => "text",
414 '&{}' => sub {
415 return
416 0 ▶ sub { my ($self) = @_; return $self ? $self->text : $self->warn; };
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$self ? : 0 0 0
417 }
418 22 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
419  
420 =head1 SUPPORT
421  
422 You can find documentation for this module with the perldoc command.
423  
424 perldoc MooX::Options
425  
426 You can also look for information at:
427  
428 =over 4
429  
430 =item * RT: CPAN's request tracker (report bugs here)
431  
432 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooX-Options>
433  
434 =item * AnnoCPAN: Annotated CPAN documentation
435  
436 L<http://annocpan.org/dist/MooX-Options>
437  
438 =item * CPAN Ratings
439  
440 L<http://cpanratings.perl.org/d/MooX-Options>
441  
442 =item * Search CPAN
443  
444 L<http://search.cpan.org/dist/MooX-Options/>
445  
446 =back
447  
448 =head1 AUTHOR
449  
450 celogeek <me@celogeek.com>
451  
452 =head1 COPYRIGHT AND LICENSE
453  
454 This software is copyright (c) 2013 by celogeek <me@celogeek.com>.
455  
456 This software is copyright (c) 2017 by Jens Rehsack.
457  
458 This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
459  
460 =cut
461  
462 22 1;
↑ Summary Options/Role.pm »