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