1Dist::Zilla::Util(3)  User Contributed Perl Documentation Dist::Zilla::Util(3)
2
3
4

NAME

6       Dist::Zilla::Util - random snippets of code that Dist::Zilla wants
7

VERSION

9       version 6.025
10

PERL VERSION

12       This module should work on any version of perl still receiving updates
13       from the Perl 5 Porters.  This means it should work on any version of
14       perl released in the last two to three years.  (That is, if the most
15       recently released version is v5.40, then this module should work on
16       both v5.40 and v5.38.)
17
18       Although it may work on older versions of perl, no guarantee is made
19       that the minimum required version will not be increased.  The version
20       may be increased for any reason, and there is no promise that patches
21       will be accepted to lower the minimum required perl.
22

METHODS

24   abstract_from_file
25       This method, which is likely to change or go away, tries to guess the
26       abstract of a given file, assuming that it's Perl code.  It looks for a
27       POD "=head1" section called "NAME" or a comment beginning with
28       "ABSTRACT:".
29
30   expand_config_package_name
31         my $pkg_name = Dist::Zilla::Util->expand_config_package_name($string);
32
33       This method, which is likely to change or go away, rewrites the given
34       string into a package name.
35
36       Prefixes are rewritten as follows:
37
38       •   "=" becomes nothing
39
40       •   "@" becomes "Dist::Zilla::PluginBundle::"
41
42       •   "%" becomes "Dist::Zilla::Stash::"
43
44       •   otherwise, "Dist::Zilla::Plugin::" is prepended
45

AUTHOR

47       Ricardo SIGNES 😏 <rjbs@semiotic.systems>
48
50       This software is copyright (c) 2022 by Ricardo SIGNES.
51
52       This is free software; you can redistribute it and/or modify it under
53       the same terms as the Perl 5 programming language system itself.
54
55
56
57perl v5.36.0                      2022-09-01              Dist::Zilla::Util(3)
Impressum