Yath/Option/AutoPathList.pm untested

filter: Statementstmt 0.0% 0 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 8 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 39 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
default_long_examples
2.0
default_short_examples
2.0
CRAP 2.0
1 package Getopt::Yath::Option::AutoPathList;
2 use strict;
3 use warnings;
4  
5 our $VERSION = '2.000007';
6  
7 use Getopt::Yath::Option::PathList;
8  
9 use parent 'Getopt::Yath::Option::AutoList';
10 use Getopt::Yath::HashBase;
11  
12 BEGIN {
13 *normalize_value = Getopt::Yath::Option::PathList->can('normalize_value');
14 }
15  
16 sub default_long_examples {
17 my $self = shift;
18 my %params = @_;
19  
20 my $list = $self->SUPER::default_long_examples(%params);
21 push @$list => (qq{='*.*'});
22 return $list;
23 }
24  
25 sub default_short_examples {
26 my $self = shift;
27 my %params = @_;
28  
29 my $list = $self->SUPER::default_long_examples(%params);
30 push @$list => (qq{='*.*'});
31 return $list;
32 }
33  
34  
35 1;
36  
37 __END__