line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Dist::Zilla::Role::ModuleMaker 6.029; |
2
|
|
|
|
|
|
|
# ABSTRACT: something that injects module files into the dist |
3
|
|
|
|
|
|
|
|
4
|
2
|
|
|
2
|
|
1586
|
use Moose::Role; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
26
|
|
5
|
|
|
|
|
|
|
with qw( |
6
|
|
|
|
|
|
|
Dist::Zilla::Role::Plugin |
7
|
|
|
|
|
|
|
Dist::Zilla::Role::FileInjector |
8
|
|
|
|
|
|
|
); |
9
|
|
|
|
|
|
|
|
10
|
2
|
|
|
2
|
|
11775
|
use Dist::Zilla::Pragmas; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
22
|
|
11
|
|
|
|
|
|
|
|
12
|
2
|
|
|
2
|
|
17
|
use namespace::autoclean; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
17
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
#pod =head1 DESCRIPTION |
15
|
|
|
|
|
|
|
#pod |
16
|
|
|
|
|
|
|
#pod Plugins implementing this role have their C<make_module> method called for each |
17
|
|
|
|
|
|
|
#pod module requesting creation by the plugin with this name. It is passed a |
18
|
|
|
|
|
|
|
#pod hashref with the following data: |
19
|
|
|
|
|
|
|
#pod |
20
|
|
|
|
|
|
|
#pod name - the name of the module to make (a MooseX::Types::Perl::ModuleName) |
21
|
|
|
|
|
|
|
#pod |
22
|
|
|
|
|
|
|
#pod Classes composing this role also compose |
23
|
|
|
|
|
|
|
#pod L<FileInjector|Dist::Zilla::Role::FileInjector> and are expected to inject a |
24
|
|
|
|
|
|
|
#pod file for the module being created. |
25
|
|
|
|
|
|
|
#pod |
26
|
|
|
|
|
|
|
#pod =cut |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
requires 'make_module'; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
__END__ |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=pod |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=encoding UTF-8 |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 NAME |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Dist::Zilla::Role::ModuleMaker - something that injects module files into the dist |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 VERSION |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
version 6.029 |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 DESCRIPTION |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Plugins implementing this role have their C<make_module> method called for each |
49
|
|
|
|
|
|
|
module requesting creation by the plugin with this name. It is passed a |
50
|
|
|
|
|
|
|
hashref with the following data: |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
name - the name of the module to make (a MooseX::Types::Perl::ModuleName) |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Classes composing this role also compose |
55
|
|
|
|
|
|
|
L<FileInjector|Dist::Zilla::Role::FileInjector> and are expected to inject a |
56
|
|
|
|
|
|
|
file for the module being created. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 PERL VERSION |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
This module should work on any version of perl still receiving updates from |
61
|
|
|
|
|
|
|
the Perl 5 Porters. This means it should work on any version of perl released |
62
|
|
|
|
|
|
|
in the last two to three years. (That is, if the most recently released |
63
|
|
|
|
|
|
|
version is v5.40, then this module should work on both v5.40 and v5.38.) |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Although it may work on older versions of perl, no guarantee is made that the |
66
|
|
|
|
|
|
|
minimum required version will not be increased. The version may be increased |
67
|
|
|
|
|
|
|
for any reason, and there is no promise that patches will be accepted to lower |
68
|
|
|
|
|
|
|
the minimum required perl. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head1 AUTHOR |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
Ricardo SIGNES 😏 <cpan@semiotic.systems> |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
This software is copyright (c) 2022 by Ricardo SIGNES. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
79
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=cut |