| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# |
|
2
|
|
|
|
|
|
|
# This file is part of Config-Model |
|
3
|
|
|
|
|
|
|
# |
|
4
|
|
|
|
|
|
|
# This software is Copyright (c) 2005-2022 by Dominique Dumont. |
|
5
|
|
|
|
|
|
|
# |
|
6
|
|
|
|
|
|
|
# This is free software, licensed under: |
|
7
|
|
|
|
|
|
|
# |
|
8
|
|
|
|
|
|
|
# The GNU Lesser General Public License, Version 2.1, February 1999 |
|
9
|
|
|
|
|
|
|
# |
|
10
|
|
|
|
|
|
|
package Config::Model::Role::Utils 2.153; # TRIAL |
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# ABSTRACT: Provide some utilities |
|
13
|
|
|
|
|
|
|
|
|
14
|
59
|
|
|
59
|
|
29786
|
use Mouse::Role; |
|
|
59
|
|
|
|
|
175
|
|
|
|
59
|
|
|
|
|
432
|
|
|
15
|
59
|
|
|
59
|
|
17780
|
use strict; |
|
|
59
|
|
|
|
|
168
|
|
|
|
59
|
|
|
|
|
1405
|
|
|
16
|
59
|
|
|
59
|
|
358
|
use warnings; |
|
|
59
|
|
|
|
|
179
|
|
|
|
59
|
|
|
|
|
1616
|
|
|
17
|
59
|
|
|
59
|
|
1376
|
use 5.020; |
|
|
59
|
|
|
|
|
258
|
|
|
18
|
|
|
|
|
|
|
|
|
19
|
59
|
|
|
59
|
|
416
|
use feature qw/signatures postderef/; |
|
|
59
|
|
|
|
|
174
|
|
|
|
59
|
|
|
|
|
5688
|
|
|
20
|
59
|
|
|
59
|
|
560
|
no warnings qw/experimental::signatures experimental::postderef/; |
|
|
59
|
|
|
|
|
273
|
|
|
|
59
|
|
|
|
|
8238
|
|
|
21
|
|
|
|
|
|
|
|
|
22
|
39192
|
|
|
39192
|
|
54293
|
sub _resolve_arg_shortcut ($args, @param_list) { |
|
|
39192
|
|
|
|
|
53486
|
|
|
|
39192
|
|
|
|
|
59235
|
|
|
|
39192
|
|
|
|
|
50975
|
|
|
23
|
|
|
|
|
|
|
return $args->@* > @param_list ? $args->@* |
|
24
|
39192
|
100
|
|
|
|
151564
|
: map { $_ => shift @$args; } @param_list; |
|
|
7736
|
|
|
|
|
33838
|
|
|
25
|
|
|
|
|
|
|
} |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
__END__ |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=pod |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=encoding UTF-8 |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 NAME |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Config::Model::Role::Utils - Provide some utilities |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 VERSION |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
version 2.153 |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 AUTHOR |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Dominique Dumont |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
This software is Copyright (c) 2005-2022 by Dominique Dumont. |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
This is free software, licensed under: |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
The GNU Lesser General Public License, Version 2.1, February 1999 |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=cut |