line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: something that stores options or data for later reference |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
use Moose::Role; |
4
|
4
|
|
|
4
|
|
2337
|
|
|
4
|
|
|
|
|
15
|
|
|
4
|
|
|
|
|
26
|
|
5
|
|
|
|
|
|
|
use Dist::Zilla::Pragmas; |
6
|
4
|
|
|
4
|
|
19256
|
|
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
25
|
|
7
|
|
|
|
|
|
|
use namespace::autoclean; |
8
|
4
|
|
|
4
|
|
32
|
|
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
27
|
|
9
|
|
|
|
|
|
|
my ($class, $name, $arg, $section) = @_; |
10
|
|
|
|
|
|
|
|
11
|
6
|
|
|
6
|
0
|
25
|
# $self->log_debug([ 'online, %s v%s', $self->meta->name, $version ]); |
12
|
|
|
|
|
|
|
my $entry = $class->stash_from_config($name, $arg, $section); |
13
|
|
|
|
|
|
|
|
14
|
6
|
|
|
|
|
34
|
$section->sequence->assembler->register_stash($name, $entry); |
15
|
|
|
|
|
|
|
|
16
|
6
|
|
|
|
|
42
|
return; |
17
|
|
|
|
|
|
|
} |
18
|
6
|
|
|
|
|
18
|
|
19
|
|
|
|
|
|
|
my ($class, $name, $arg, $section) = @_; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
my $self = $class->new($arg); |
22
|
6
|
|
|
6
|
0
|
19
|
return $self; |
23
|
|
|
|
|
|
|
} |
24
|
6
|
|
|
|
|
160
|
|
25
|
6
|
|
|
|
|
21
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=pod |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=encoding UTF-8 |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 NAME |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Dist::Zilla::Role::Stash - something that stores options or data for later reference |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 VERSION |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
version 6.028 |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 PERL VERSION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
This module should work on any version of perl still receiving updates from |
43
|
|
|
|
|
|
|
the Perl 5 Porters. This means it should work on any version of perl released |
44
|
|
|
|
|
|
|
in the last two to three years. (That is, if the most recently released |
45
|
|
|
|
|
|
|
version is v5.40, then this module should work on both v5.40 and v5.38.) |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Although it may work on older versions of perl, no guarantee is made that the |
48
|
|
|
|
|
|
|
minimum required version will not be increased. The version may be increased |
49
|
|
|
|
|
|
|
for any reason, and there is no promise that patches will be accepted to lower |
50
|
|
|
|
|
|
|
the minimum required perl. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 AUTHOR |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Ricardo SIGNES 😏 <cpan@semiotic.systems> |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
This software is copyright (c) 2022 by Ricardo SIGNES. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
61
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=cut |