1Dist::Zilla::Role::ModuUlseeIrnfCoo(n3t)ributed Perl DocDuimsetn:t:aZtiilolna::Role::ModuleInfo(3)
2
3
4
6 Dist::Zilla::Role::ModuleInfo - Create Module::Metadata object from
7 Dist::Zilla::File
8
10 This document describes version 6.000 of Dist::Zilla::Role::ModuleInfo,
11 released December 17, 2017 as part of Dist-Zilla-Plugins-CJM version
12 6.000.
13
15 Plugins implementing ModuleInfo may call their own "get_module_info"
16 method to construct a Module::Metadata object. (Module::Metadata is
17 the new name for Module::Build::ModuleInfo, now that it's been split
18 from the Module-Build distribution.)
19
21 get_module_info
22 my $info = $plugin->get_module_info($file);
23
24 This constructs a Module::Metadata object from the contents of a $file
25 object that does Dist::Zilla::Role::File. Any additional arguments are
26 passed along to "Module::Metadata->new_from_file".
27
29 Dist::Zilla::Role::ModuleInfo requires no configuration files or
30 environment variables.
31
33 Module::Metadata.
34
36 None reported.
37
39 No bugs have been reported.
40
42 Christopher J. Madsen "<perl AT cjmweb.net>"
43
44 Please report any bugs or feature requests to
45 "<bug-Dist-Zilla-Plugins-CJM AT rt.cpan.org>" or through the web
46 interface at
47 <http://rt.cpan.org/Public/Bug/Report.html?Queue=Dist-Zilla-Plugins-CJM>.
48
49 You can follow or contribute to Dist-Zilla-Plugins-CJM's development at
50 <https://github.com/madsen/dist-zilla-plugins-cjm>.
51
53 This software is copyright (c) 2017 by Christopher J. Madsen.
54
55 This is free software; you can redistribute it and/or modify it under
56 the same terms as the Perl 5 programming language system itself.
57
59 BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
60 FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
61 WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
62 PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
63 EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
64 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
65 ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
66 YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
67 NECESSARY SERVICING, REPAIR, OR CORRECTION.
68
69 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
70 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
71 REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENSE, BE LIABLE
72 TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
73 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
74 SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
75 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
76 FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
77 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
78 DAMAGES.
79
80
81
82perl v5.36.0 2023-01-20 Dist::Zilla::Role::ModuleInfo(3)